]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Grow: fix version number in error message
authorNamhyung Kim <namhyung@gmail.com>
Tue, 19 Jul 2011 04:34:13 +0000 (13:34 +0900)
committerNeilBrown <neilb@suse.de>
Tue, 26 Jul 2011 04:30:49 +0000 (14:30 +1000)
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>
Grow.c

diff --git a/Grow.c b/Grow.c
index a4092b5437f00f1366eccd073d31d82faed8193a..e4fc2221ad782337e0550f7720a220c9129763f2 100644 (file)
--- 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,