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-8998 tools: support negative flags
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_lov.c
diff --git
a/lustre/lod/lod_lov.c
b/lustre/lod/lod_lov.c
index
50b3998
..
6b01a87
100644
(file)
--- a/
lustre/lod/lod_lov.c
+++ b/
lustre/lod/lod_lov.c
@@
-881,7
+881,7
@@
again:
if (i == lo->ldo_comp_cnt)
return id;
}
- if (end
>
LCME_ID_MAX) {
+ if (end
==
LCME_ID_MAX) {
start = 1;
end = min(lo->ldo_layout_gen & LCME_ID_MASK,
(__u32)(LCME_ID_MAX - 1));