Commit 690edcfa authored by Trond Myklebust's avatar Trond Myklebust

NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent be824167
......@@ -1852,7 +1852,7 @@ ff_layout_mirror_prepare_stats(struct nfs42_layoutstat_args *args,
struct nfs42_layoutstat_devinfo *devinfo;
int i;
for (i = 0; i <= FF_LAYOUT_MIRROR_COUNT(pls); i++) {
for (i = 0; i < FF_LAYOUT_MIRROR_COUNT(pls); i++) {
if (*dev_count >= dev_limit)
break;
mirror = FF_LAYOUT_COMP(pls, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment