From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: Subject: [PATCH 2/4] Grow_reshape: need text_version for sub-array processing. Date: Wed, 12 Jan 2011 17:12:22 +1100 Message-ID: <20110112171222.6f5d60d4@notabene.brown> References: <905EDD02F158D948B186911EB64DB3D176E1A44C@irsmsx503.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <905EDD02F158D948B186911EB64DB3D176E1A44C@irsmsx503.ger.corp.intel.com> Sender: linux-raid-owner@vger.kernel.org To: "Labun, Marcin" Cc: "linux-raid@vger.kernel.org" , "Kwolek, Adam" , "Williams, Dan J" , "Ciechanowski, Ed" , "Neubauer, Wojciech" List-Id: linux-raid.ids 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