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
patches related to bug 13377 (CMD small fixes), 2+4 patch and fid_unpack patch
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_lov.c
diff --git
a/lustre/mdd/mdd_lov.c
b/lustre/mdd/mdd_lov.c
index
98e9018
..
687137a
100644
(file)
--- a/
lustre/mdd/mdd_lov.c
+++ b/
lustre/mdd/mdd_lov.c
@@
-409,8
+409,7
@@
int mdd_lov_create(const struct lu_env *env, struct mdd_device *mdd,
int rc = 0;
ENTRY;
- if (create_flags & MDS_OPEN_DELAY_CREATE ||
- !(create_flags & FMODE_WRITE))
+ if (!md_should_create(create_flags))
RETURN(0);
oti_init(oti, NULL);