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:
c8bac37
)
- fix unlock without lock issue
author
tappro
<tappro>
Sat, 23 Sep 2006 14:36:34 +0000
(14:36 +0000)
committer
tappro
<tappro>
Sat, 23 Sep 2006 14:36:34 +0000
(14:36 +0000)
lustre/mdt/mdt_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_reint.c
b/lustre/mdt/mdt_reint.c
index
9f9603c
..
1b95dbf
100644
(file)
--- a/
lustre/mdt/mdt_reint.c
+++ b/
lustre/mdt/mdt_reint.c
@@
-515,6
+515,7
@@
out_unlock_tgt:
out_unlock_tgtdir:
mdt_object_unlock_put(info, mtgtdir, lh_tgtdir, rc);
out:
+ mdt_shrink_reply(info, REPLY_REC_OFF + 1);
return rc;
}
@@
-625,7
+626,7
@@
static int mdt_reint_rename(struct mdt_thread_info *info,
if (rc == 1) {
/* if (rr->rr_name[0] == 0) {*/
rc = mdt_reint_rename_tgt(info);
-
GOTO(out,
rc);
+
RETURN(
rc);
}
rc = mdt_rename_lock(info, &rename_lh);