diff options
author | Song Liu <songliubraving@fb.com> | 2019-10-15 02:58:35 +0300 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2019-10-16 19:43:02 +0300 |
commit | 3874d73e06c9b9dc15de0b7382fc223986d75571 (patch) | |
tree | 8b3adf5fdbde63daa898be570c007b921ca2e1e4 /drivers/md/raid0.c | |
parent | 09d6ac8dc51a033ae0043c1fe40b4d02563c2496 (diff) | |
download | linux-3874d73e06c9b9dc15de0b7382fc223986d75571.tar.xz |
md/raid0: fix warning message for parameter default_layout
The message should match the parameter, i.e. raid0.default_layout.
Fixes: c84a1372df92 ("md/raid0: avoid RAID0 data corruption due to layout confusion.")
Cc: NeilBrown <neilb@suse.de>
Reported-by: Ivan Topolsky <doktor.yak@gmail.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/raid0.c')
-rw-r--r-- | drivers/md/raid0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index f61693e59684..1e772287b1c8 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -154,7 +154,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; } |