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-7543 obd: reserve connection flag OBD_CONNECT_LOCK_AHEAD
[fs/lustre-release.git]
/
lustre
/
utils
/
liblustreapi_layout.c
diff --git
a/lustre/utils/liblustreapi_layout.c
b/lustre/utils/liblustreapi_layout.c
index
937d5cc
..
4cd584e
100644
(file)
--- a/
lustre/utils/liblustreapi_layout.c
+++ b/
lustre/utils/liblustreapi_layout.c
@@
-786,7
+786,7
@@
int llapi_layout_pattern_set(struct llapi_layout *layout, uint64_t pattern)
return -1;
}
- if (pattern != LLAPI_LAYOUT_DEFAULT
||
+ if (pattern != LLAPI_LAYOUT_DEFAULT
&&
pattern != LLAPI_LAYOUT_RAID0) {
errno = EOPNOTSUPP;
return -1;