From: deen Date: Tue, 16 Sep 2008 10:10:50 +0000 (+0000) Subject: Get an error from right dentry. X-Git-Tag: v1_9_80~98 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fa023cd9f499c76f0f160c52155006657965a337;p=fs%2Flustre-release.git Get an error from right dentry. b=15574 i=johann i=alexey.lyashkov --- diff --git a/lustre/mdt/mdt_open.c b/lustre/mdt/mdt_open.c index 9720d90..6f95d69 100644 --- a/lustre/mdt/mdt_open.c +++ b/lustre/mdt/mdt_open.c @@ -717,7 +717,7 @@ void mdt_reconstruct_open(struct mdt_thread_info *info, } child = mdt_object_find(env, mdt, rr->rr_fid2); if (IS_ERR(child)) { - rc = PTR_ERR(parent); + rc = PTR_ERR(child); LCONSOLE_WARN("Child "DFID" lookup error %d." " Evicting client %s with export %s.\n", PFID(mdt_object_fid(child)), rc,