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:
41b2f7e
)
Branch: HEAD
author
wangdi
<wangdi>
Mon, 9 May 2005 07:07:21 +0000
(07:07 +0000)
committer
wangdi
<wangdi>
Mon, 9 May 2005 07:07:21 +0000
(07:07 +0000)
miss release parent pdir locks in mds_open
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
fcbf815
..
37d21bf
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-1005,6
+1005,10
@@
got_child:
* may conflict with enqueue_order_locks(). so,
* drop parent lock and acquire both the locks in
* common order. bug 6190 */
+#ifdef S_PDIROPS
+ if (parent_lockh[1].cookie != 0)
+ ldlm_lock_decref(parent_lockh + 1, update_mode);
+#endif
ldlm_lock_decref(parent_lockh, parent_mode);
l_dput(dchild);
l_dput(dparent);