linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Namhyung Kim <namhyung@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH] Grow: fix version number in error message
Date: Tue, 26 Jul 2011 14:31:11 +1000	[thread overview]
Message-ID: <20110726143111.53e4a5a6@notabene.brown> (raw)
In-Reply-To: <1311050053-2831-1-git-send-email-namhyung@gmail.com>

On Tue, 19 Jul 2011 13:34:13 +0900 Namhyung Kim <namhyung@gmail.com> 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@gmail.com>
> ---
>  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

      reply	other threads:[~2011-07-26  4:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19  4:34 [PATCH] Grow: fix version number in error message Namhyung Kim
2011-07-26  4:31 ` NeilBrown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110726143111.53e4a5a6@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=namhyung@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).