We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ce078 commit 825711eCopy full SHA for 825711e
drivers/md/raid10.c
@@ -4061,9 +4061,12 @@ static int raid10_run(struct mddev *mddev)
4061
}
4062
4063
if (!mddev_is_dm(conf->mddev)) {
4064
- ret = raid10_set_queue_limits(mddev);
4065
- if (ret)
+ int err = raid10_set_queue_limits(mddev);
+
4066
+ if (err) {
4067
+ ret = err;
4068
goto out_free_conf;
4069
+ }
4070
4071
4072
/* need to check that every block has at least one working mirror */
0 commit comments