From: tappro Date: Sun, 9 Jul 2006 08:08:47 +0000 (+0000) Subject: - fix using child as parent X-Git-Tag: v1_8_0_110~486^2~1464 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=489fe7bcbe1c1b0e97330ed9b26e7191350dc902;p=fs%2Flustre-release.git - fix using child as parent --- diff --git a/lustre/mdt/mdt_reint.c b/lustre/mdt/mdt_reint.c index 49c46bd..fd12205 100644 --- a/lustre/mdt/mdt_reint.c +++ b/lustre/mdt/mdt_reint.c @@ -295,7 +295,7 @@ static int mdt_reint_unlink(struct mdt_thread_info *info) GOTO(out_unlock_child, rc = -EROFS); /* step 4: delete it */ - rc = mdo_unlink(info->mti_ctxt, mdt_object_child(mc), + rc = mdo_unlink(info->mti_ctxt, mdt_object_child(mp), mdt_object_child(mc), rr->rr_name); /*step 5: orphan handling & recovery issue */