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:
09f865a
)
- small fix in mds_lock_mode_for_dir()
author
yury
<yury>
Fri, 13 Aug 2004 16:10:43 +0000
(16:10 +0000)
committer
yury
<yury>
Fri, 13 Aug 2004 16:10:43 +0000
(16:10 +0000)
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
735489c
..
819acf5
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-180,7
+180,7
@@
int mds_lock_mode_for_dir(struct obd_device *obd,
* type of access (lookup/modify/split) - LCK_EX -bzzz */
split = mds_splitting_expected(obd, dentry);
- if (split == MDS_NO_SPLITTABLE || MDS_NO_SPLIT_EXPECTED) {
+ if (split == MDS_NO_SPLITTABLE ||
split ==
MDS_NO_SPLIT_EXPECTED) {
/* this inode won't be splitted. so we need not to protect from
* just flush client's cache on modification */
ret_mode = 0;