From: wangdi Date: Tue, 3 Oct 2006 17:47:51 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~714 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d656c1585086ae10f09e48023c0bb84225fe7f9f;p=fs%2Flustre-release.git Branch: b_new_cmd it should handle the last link for those cross-ref/splitted object unlink --- 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); }