From d656c1585086ae10f09e48023c0bb84225fe7f9f Mon Sep 17 00:00:00 2001 From: wangdi Date: Tue, 3 Oct 2006 17:47:51 +0000 Subject: [PATCH] Branch: b_new_cmd it should handle the last link for those cross-ref/splitted object unlink --- lustre/mdt/mdt_reint.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/mdt/mdt_reint.c b/lustre/mdt/mdt_reint.c index dbe98f9..25cadbe2 100644 --- a/lustre/mdt/mdt_reint.c +++ b/lustre/mdt/mdt_reint.c @@ -376,6 +376,8 @@ static int mdt_reint_unlink(struct mdt_thread_info *info, if (strlen(rr->rr_name) == 0) { /* remote partial operation */ rc = mo_ref_del(info->mti_env, mdt_object_child(mp), ma); + + mdt_handle_last_unlink(info, mp, ma); GOTO(out_unlock_parent, rc); } -- 1.8.3.1