diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-07-08 18:19:23 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-07-08 18:25:41 (GMT) |
commit | 690edcfad0e570a9a2a42d9b98cd04efaf21489d (patch) | |
tree | d42f2fde1f21fc2b118151802e06d5e44c0eff2b /fs/nfs/flexfilelayout/flexfilelayout.c | |
parent | be824167e33a8b747423c90f72479deb03255d54 (diff) | |
download | linux-690edcfad0e570a9a2a42d9b98cd04efaf21489d.tar.xz |
NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index c12951b..b3289d7 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c @@ -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); |