When for container operation reshape_super() fails child process is not started so it cannot unfreeze container. Grow_reshape() doesn't unfreeze container also. For fix problem frozen variable can be cleaned when reshape_container() returns success status only. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Grow.c b/Grow.c index 8b9625d..dae1b32 100644 --- a/Grow.c +++ b/Grow.c @@ -1554,7 +1554,8 @@ int Grow_reshape(char *devname, int fd, int quiet, char *backup_file, */ rv = reshape_container(container, fd, devname, st, &info, force, backup_file, quiet); - frozen = 0; + if (rv == 0) + frozen = 0; } else { /* Impose these changes on a single array. First * check that the metadata is OK with the change. */ -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html