Grow: fix a couple of typos with --assume-clean usage

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2012-10-11 11:35:41 +11:00
parent ef6e87a7b9
commit 869523878e
1 changed files with 2 additions and 2 deletions

4
Grow.c
View File

@ -1850,12 +1850,12 @@ size_change_error:
goto release;
}
if (s->assume_clean) {
/* This will fail on kernels newer than 3.0 unless
/* This will fail on kernels older than 3.0 unless
* a backport has been arranged.
*/
if (sra == NULL ||
sysfs_set_str(sra, NULL, "resync_start", "none") < 0)
pr_err("--assume-clean not support with --grow on this kernel\n");
pr_err("--assume-clean not supported with --grow on this kernel\n");
}
ioctl(fd, GET_ARRAY_INFO, &array);
s->size = get_component_size(fd)/2;