Whamcloud - gitweb
- fix using child as parent
authortappro <tappro>
Sun, 9 Jul 2006 08:08:47 +0000 (08:08 +0000)
committertappro <tappro>
Sun, 9 Jul 2006 08:08:47 +0000 (08:08 +0000)
lustre/mdt/mdt_reint.c

index 49c46bd..fd12205 100644 (file)
@@ -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 */