From fa023cd9f499c76f0f160c52155006657965a337 Mon Sep 17 00:00:00 2001 From: deen Date: Tue, 16 Sep 2008 10:10:50 +0000 Subject: [PATCH] Get an error from right dentry. b=15574 i=johann i=alexey.lyashkov --- lustre/mdt/mdt_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.8.3.1