Grow: fix a couple of typos with --assume-clean usage
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
ef6e87a7b9
commit
869523878e
4
Grow.c
4
Grow.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue