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-13918 lfs: let lfs mirror extend to use prefer flag
[fs/lustre-release.git]
/
lustre
/
utils
/
liblustreapi_layout.c
diff --git
a/lustre/utils/liblustreapi_layout.c
b/lustre/utils/liblustreapi_layout.c
index
87ed8c8
..
3f85197
100644
(file)
--- a/
lustre/utils/liblustreapi_layout.c
+++ b/
lustre/utils/liblustreapi_layout.c
@@
-3179,7
+3179,8
@@
static int llapi_layout_sanity_cb(struct llapi_layout *layout,
if (comp->llc_flags & ~LCME_USER_COMP_FLAGS)
args->lsa_rc = LSE_FLAGS;
} else {
- if (comp->llc_flags & ~LCME_FL_EXTENSION)
+ if (comp->llc_flags &
+ ~(LCME_FL_EXTENSION | LCME_FL_PREF_RW))
args->lsa_rc = LSE_FLAGS;
}
}