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 <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Krzysztof Wojcik 2011-01-17 12:56:43 +11:00 committed by NeilBrown
parent 031d445c18
commit e35b189b4e
1 changed files with 1 additions and 3 deletions

4
Grow.c
View File

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