From: Krzysztof Wojcik Date: Mon, 17 Jan 2011 01:56:43 +0000 (+1100) Subject: Unfreeze for non re-striping transitions X-Git-Tag: mdadm-3.2~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e35b189b4e8e7b7c900c388e5fd678c1db1c81ba;p=thirdparty%2Fmdadm.git Unfreeze for non re-striping transitions For non re-striping transitions array must be unfrozen before end of processing. For restriping transitions we normally let the child unfreeze the array but in this case there is no child. Signed-off-by: Krzysztof Wojcik Signed-off-by: NeilBrown --- diff --git a/Grow.c b/Grow.c index e9a26749..df736eda 100644 --- a/Grow.c +++ b/Grow.c @@ -1725,9 +1725,7 @@ static int reshape_array(char *container, int fd, char *devname, printf("chunk size for %s set to %d\n", devname, info->array.chunk_size); } - - if (!forked) - unfreeze(st); + unfreeze(st); return 0; }