Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc46ded
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Tue, 3 Oct 2006 17:47:51 +0000
(17:47 +0000)
committer
wangdi
<wangdi>
Tue, 3 Oct 2006 17:47:51 +0000
(17:47 +0000)
it should handle the last link for those cross-ref/splitted object unlink
lustre/mdt/mdt_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_reint.c
b/lustre/mdt/mdt_reint.c
index
dbe98f9
..
25cadbe
100644
(file)
--- 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);
}