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 <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
NeilBrown 2018-12-06 10:36:28 +11:00 committed by Jes Sorensen
parent 085df42259
commit 76d505dec6
1 changed files with 1 additions and 1 deletions

2
Grow.c
View File

@ -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;