super0/1: fix typo in error messages.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2013-07-24 12:22:58 +10:00
parent 3377ee4248
commit 2bf62891c1
2 changed files with 2 additions and 2 deletions

View File

@ -662,7 +662,7 @@ static int update_super0(struct supertype *st, struct mdinfo *info,
sb->new_chunk/512 *
(sb->raid_disks - sb->delta_disks - parity))) {
pr_err("Reshape position is not suitably aligned.\n");
pr_err("Try normal assembly as stop again\n");
pr_err("Try normal assembly and stop again\n");
return -2;
}
sb->raid_disks -= sb->delta_disks;

View File

@ -1284,7 +1284,7 @@ static int update_super1(struct supertype *st, struct mdinfo *info,
(__le32_to_cpu(sb->level)==6 ? 2 : 1);
if (reshape_sectors % reshape_chunk) {
pr_err("Reshape position is not suitably aligned.\n");
pr_err("Try normal assembly as stop again\n");
pr_err("Try normal assembly and stop again\n");
return -2;
}
}