From: alex Date: Tue, 27 Jul 2004 12:32:15 +0000 (+0000) Subject: - don't show error message in replay case X-Git-Tag: 1.3.4~540 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ef26f8def9009015044384317a8dce121efe0792;p=fs%2Flustre-release.git - don't show error message in replay case --- diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 836fa10..f424b76 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -1431,8 +1431,10 @@ int mds_create_local_dentry(struct mds_update_record *rec, } if (IS_ERR(child)) { - CERROR("can't get victim: %d\n", (int) PTR_ERR(child)); - GOTO(cleanup, rc = PTR_ERR(child)); + rc = PTR_ERR(child); + if (rc != -ENOENT || !(rec->ur_mode & MDS_MODE_REPLAY)) + CERROR("can't get victim: %d\n", rc); + GOTO(cleanup, rc); } cleanup_phase = 2;