Re: [PATCH] Grow: fix version number in error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Jul 2011 13:34:13 +0900 Namhyung Kim <namhyung@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>
> ---
>  Grow.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Grow.c b/Grow.c
> index a4092b5..e4fc222 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,

applied, thanks.

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux