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

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

 



>From bffebd79d2f18176727d2c6d9dd111470969cf7a Mon Sep 17 00:00:00 2001
From: Marcin Labun <marcin.labun@xxxxxxxxx>
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 <marcin.labun@xxxxxxxxx>
---
 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@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