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

Commit 43a52123 authored by Lidong Zhong's avatar Lidong Zhong Committed by Shaohua Li
Browse files

md-cluster: choose correct label when clustered layout is not supported



r10conf is already successfully allocated before checking the layout

Signed-off-by: default avatarLidong Zhong <lzhong@suse.com>
Reviewed-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Signed-off-by: default avatarShaohua Li <sh.li@alibaba-inc.com>
parent 53b8d89d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3784,7 +3784,7 @@ static int raid10_run(struct mddev *mddev)
		if (fc > 1 || fo > 0) {
			pr_err("only near layout is supported by clustered"
				" raid10\n");
			goto out;
			goto out_free_conf;
		}
	}