From: Adam Kwolek Date: Thu, 6 Jan 2011 08:20:01 +0000 (+1100) Subject: Raid0: execute backward takeover X-Git-Tag: mdadm-3.2~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3cbac57fd8256d4b1609e5b2a6fba4773cc096;p=thirdparty%2Fmdadm.git Raid0: execute backward takeover After raid0 reshape is finished backward takeover has to be executed. Signed-off-by: Adam Kwolek Signed-off-by: NeilBrown --- diff --git a/Grow.c b/Grow.c index 25c55ccb..1222263e 100644 --- a/Grow.c +++ b/Grow.c @@ -2047,7 +2047,7 @@ static int reshape_array(char *container, int fd, char *devname, } } - if (info->new_level != info->array.level) { + if (info->new_level != reshape.level) { /* We need to wait for the reshape to finish * (which will have happened unless * odata < ndata) and then set the level