Subject: [PATCH 2/4] Grow_reshape: need text_version for sub-arrayprocessing.

Subject: [PATCH 2/4] Grow_reshape: need text_version for sub-arrayprocessing.

am 11.01.2011 16:24:17 von Marcin.Labun

From bffebd79d2f18176727d2c6d9dd111470969cf7a Mon Sep 17 00:00:00 2001
From: Marcin Labun
Date: Tue, 11 Jan 2011 14:13:10 +0100
Subject: [PATCH 2/4] Grow_reshape: need text_version for sub-array processing.

Signed-off-by: Marcin Labun
---
Grow.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Grow.c b/Grow.c
index 41db6f2..1998750 100644
--- a/Grow.c
+++ b/Grow.c
@@ -1497,6 +1497,7 @@ int Grow_reshape(char *devname, int fd, int quiet, char *backup_file,

info.array = array;
sysfs_init(&info, fd, NoMdDev);
+ strcpy(info.text_version, sra->text_version);
info.component_size = size*2;
info.new_level = level;
info.new_chunk = chunksize * 1024;
--
1.6.4.2

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

Re: Subject: [PATCH 2/4] Grow_reshape: need text_version forsub-array processing.

am 12.01.2011 07:12:22 von NeilBrown

On Tue, 11 Jan 2011 15:24:17 +0000 "Labun, Marcin"
wrote:

> >From bffebd79d2f18176727d2c6d9dd111470969cf7a Mon Sep 17 00:00:00 2001
> From: Marcin Labun
> Date: Tue, 11 Jan 2011 14:13:10 +0100
> Subject: [PATCH 2/4] Grow_reshape: need text_version for sub-array processing.
>
> Signed-off-by: Marcin Labun
> ---
> Grow.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Grow.c b/Grow.c
> index 41db6f2..1998750 100644
> --- a/Grow.c
> +++ b/Grow.c
> @@ -1497,6 +1497,7 @@ int Grow_reshape(char *devname, int fd, int quiet, char *backup_file,
>
> info.array = array;
> sysfs_init(&info, fd, NoMdDev);
> + strcpy(info.text_version, sra->text_version);
> info.component_size = size*2;
> info.new_level = level;
> info.new_chunk = chunksize * 1024;

This and the previous patch are fixing the one issue, so I have combined them
together.

NeilBrown

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