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:
parent
031d445c18
commit
e35b189b4e
4
Grow.c
4
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",
|
printf("chunk size for %s set to %d\n",
|
||||||
devname, info->array.chunk_size);
|
devname, info->array.chunk_size);
|
||||||
}
|
}
|
||||||
|
unfreeze(st);
|
||||||
if (!forked)
|
|
||||||
unfreeze(st);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue