Commit b1447f3e authored by Song Liu's avatar Song Liu Committed by Khalid Elmously

md/raid0: fix warning message for parameter default_layout

BugLink: https://bugs.launchpad.net/bugs/1850540

[ Upstream commit 3874d73e ]

The message should match the parameter, i.e. raid0.default_layout.

Fixes: c84a1372 ("md/raid0: avoid RAID0 data corruption due to layout confusion.")
Cc: NeilBrown <neilb@suse.de>
Reported-by: default avatarIvan Topolsky <doktor.yak@gmail.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatardann frazier <dann.frazier@canonical.com>
(cherry picked from bionic/18.04 submission into xenial/16.04)
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent cbda8f97
......@@ -152,7 +152,7 @@ static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf)
} else {
pr_err("md/raid0:%s: cannot assemble multi-zone RAID0 with default_layout setting\n",
mdname(mddev));
pr_err("md/raid0: please set raid.default_layout to 1 or 2\n");
pr_err("md/raid0: please set raid0.default_layout to 1 or 2\n");
err = -ENOTSUPP;
goto abort;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment