diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index ab8330d899f2ccd4f36c02092aa17f8518559090..2dc03816b9bc52c5493ec973f84f5c7e6fb3ab08 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -2393,8 +2393,7 @@ no_unlink: GOTO(cleanup, rc); cleanup: - rc = mds_finish_transno(mds, de_tgtdir && !IS_ERR(de_tgtdir) ? - de_tgtdir->d_inode : NULL, + rc = mds_finish_transno(mds, de_tgtdir ? de_tgtdir->d_inode : NULL, handle, req, rc, 0, 0); switch (cleanup_phase) {