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:
4d27ae0
)
Branch: b_release_1_4_6
author
wangdi
<wangdi>
Thu, 2 Mar 2006 03:41:45 +0000
(
03:41
+0000)
committer
wangdi
<wangdi>
Thu, 2 Mar 2006 03:41:45 +0000
(
03:41
+0000)
b=10253
Just forget fix the lock_mode in release lock
lustre/mds/mds_join.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_join.c
b/lustre/mds/mds_join.c
index
7e33da4
..
1a56542
100644
(file)
--- a/
lustre/mds/mds_join.c
+++ b/
lustre/mds/mds_join.c
@@
-315,9
+315,9
@@
cleanup:
if (dlm_handles[0].cookie != 0) {
if (rc)
- ldlm_lock_decref(&dlm_handles[0], LCK_
PW
);
+ ldlm_lock_decref(&dlm_handles[0], LCK_
EX
);
else
- ptlrpc_save_lock(req, &dlm_handles[0], LCK_
PW
);
+ ptlrpc_save_lock(req, &dlm_handles[0], LCK_
EX
);
}
if (de_tail)
l_dput(de_tail);