From: Namhyung Kim Date: Tue, 19 Jul 2011 04:34:13 +0000 (+0900) Subject: Grow: fix version number in error message X-Git-Tag: mdadm-3.2.3~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=508ede8621a0aa2fd101945b66474cc7ad59c894;p=thirdparty%2Fmdadm.git Grow: fix version number in error message As the conditional checks, reshape to fewer devices is supported since Linux kernel 2.6.30 not 2.6.32. Signed-off-by: Namhyung Kim Signed-off-by: NeilBrown --- diff --git a/Grow.c b/Grow.c index a4092b54..e4fc2221 100644 --- a/Grow.c +++ b/Grow.c @@ -1268,7 +1268,7 @@ char *analyse_change(struct mdinfo *info, struct reshape *re) if (re->after.data_disks < re->before.data_disks && get_linux_version() < 2006030) - return "reshape to fewer devices is not supported before 2.6.32 - sorry."; + return "reshape to fewer devices is not supported before 2.6.30 - sorry."; re->backup_blocks = compute_backup_blocks( info->new_chunk, info->array.chunk_size,