mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
NFSv4.2/flexfiles: Fix a typo in the flexfiles layoutstats code
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
be824167e3
commit
690edcfad0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue