From: NeilBrown Date: Wed, 5 Dec 2018 23:36:28 +0000 (+1100) Subject: Grow: report correct new chunk size. X-Git-Tag: mdadm-4.2-rc1~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d505dec6c9f92564553596fc8350324be82463;p=thirdparty%2Fmdadm.git Grow: report correct new chunk size. When using "--grow --chunk=" to change chunk size, the old chunksize is reported instead of the new. Signed-off-by: NeilBrown Signed-off-by: Jes Sorensen --- diff --git a/Grow.c b/Grow.c index 76f82c07..363b209d 100644 --- a/Grow.c +++ b/Grow.c @@ -3286,7 +3286,7 @@ static int reshape_array(char *container, int fd, char *devname, goto release; } else if (verbose >= 0) printf("chunk size for %s set to %d\n", - devname, array.chunk_size); + devname, info->new_chunk); } unfreeze(st); return 0;