Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent be824167
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1852,7 +1852,7 @@ ff_layout_mirror_prepare_stats(struct nfs42_layoutstat_args *args,
	struct nfs42_layoutstat_devinfo *devinfo;
	struct nfs42_layoutstat_devinfo *devinfo;
	int i;
	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)
		if (*dev_count >= dev_limit)
			break;
			break;
		mirror = FF_LAYOUT_COMP(pls, i);
		mirror = FF_LAYOUT_COMP(pls, i);