Skip to content

Commit 3874d73

Browse files
committed
md/raid0: fix warning message for parameter default_layout
The message should match the parameter, i.e. raid0.default_layout. Fixes: c84a137 ("md/raid0: avoid RAID0 data corruption due to layout confusion.") Cc: NeilBrown <[email protected]> Reported-by: Ivan Topolsky <[email protected]> Signed-off-by: Song Liu <[email protected]>
1 parent 09d6ac8 commit 3874d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/raid0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf)
154154
} else {
155155
pr_err("md/raid0:%s: cannot assemble multi-zone RAID0 with default_layout setting\n",
156156
mdname(mddev));
157-
pr_err("md/raid0: please set raid.default_layout to 1 or 2\n");
157+
pr_err("md/raid0: please set raid0.default_layout to 1 or 2\n");
158158
err = -ENOTSUPP;
159159
goto abort;
160160
}

0 commit comments

Comments
 (0)