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 <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Namhyung Kim 2011-07-19 13:34:13 +09:00 committed by NeilBrown
parent cd9d1ac715
commit 508ede8621
1 changed files with 1 additions and 1 deletions

2
Grow.c
View File

@ -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,