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:
2eee6c9
)
Fix oops when umount with identity upcall.
author
fanyong
<fanyong>
Sun, 1 Oct 2006 16:38:23 +0000
(16:38 +0000)
committer
fanyong
<fanyong>
Sun, 1 Oct 2006 16:38:23 +0000
(16:38 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
2aeee54
..
54e9b51
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-2177,10
+2177,11
@@
static int mdt_intent_getattr(enum mdt_it_code opcode,
ldlm_rep->lock_policy_res2 = 0;
if (!mdt_get_disposition(ldlm_rep, DISP_LOOKUP_POS) ||
ldlm_rep->lock_policy_res2) {
- GOTO(out, rc = ELDLM_LOCK_ABORTED);
+ GOTO(out
_ucred
, rc = ELDLM_LOCK_ABORTED);
}
rc = mdt_intent_lock_replace(info, lockp, new_lock, lhc, flags);
+out_ucred:
mdt_exit_ucred(info);
GOTO(out, rc);
out: