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:
644cf03
)
- bug fixed: wrong lock type was passed to ldlm_lock_decref()
author
alex
<alex>
Sat, 21 May 2005 08:07:24 +0000
(08:07 +0000)
committer
alex
<alex>
Sat, 21 May 2005 08:07:24 +0000
(08:07 +0000)
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
7fdabe6
..
d3873fc
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-1030,7
+1030,7
@@
got_child:
if (parent_lockh[1].cookie != 0)
ldlm_lock_decref(parent_lockh + 1, update_mode);
#endif
- ldlm_lock_decref(parent_lockh,
parent_mode
);
+ ldlm_lock_decref(parent_lockh,
LCK_PR
);
if (dchild->d_inode || !(dchild->d_flags & DCACHE_CROSS_REF)) {
CDEBUG(D_OTHER, "race: name changed (%p)\n",