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-16831 lod: replace (__u16)-1 with LOV_ALL_STRIPES
[fs/lustre-release.git]
/
lustre
/
include
/
uapi
/
linux
/
lustre
/
lustre_user.h
diff --git
a/lustre/include/uapi/linux/lustre/lustre_user.h
b/lustre/include/uapi/linux/lustre/lustre_user.h
index
3e0e3ba
..
30ded1f
100644
(file)
--- a/
lustre/include/uapi/linux/lustre/lustre_user.h
+++ b/
lustre/include/uapi/linux/lustre/lustre_user.h
@@
-1023,7
+1023,7
@@
struct lov_comp_md_v1 {
static inline __u32 lov_user_md_size(__u16 stripes, __u32 lmm_magic)
{
- if (stripes ==
(__u16)-1
)
+ if (stripes ==
LOV_ALL_STRIPES
)
stripes = 0;
if (lmm_magic == LOV_USER_MAGIC_V1)