Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-169 lov: add basic infrastructure for layout lock
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_intent.c
diff --git
a/lustre/lmv/lmv_intent.c
b/lustre/lmv/lmv_intent.c
index
cd190fb
..
e4225e6
100644
(file)
--- a/
lustre/lmv/lmv_intent.c
+++ b/
lustre/lmv/lmv_intent.c
@@
-527,7
+527,7
@@
int lmv_intent_lock(struct obd_export *exp, struct md_op_data *op_data,
if (rc)
RETURN(rc);
- if (it->it_op & (IT_LOOKUP | IT_GETATTR))
+ if (it->it_op & (IT_LOOKUP | IT_GETATTR
| IT_LAYOUT
))
rc = lmv_intent_lookup(exp, op_data, lmm, lmmsize, it,
flags, reqp, cb_blocking,
extra_lock_flags);