diff options
author | NeilBrown <neilb@suse.de> | 2011-03-08 17:14:00 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-08 17:14:00 +1100 |
commit | 4968025884885c078336e231f8f117e7e50618ba (patch) | |
tree | 9a777a716e4fbc24ada9428ea669e88e0cea01f3 /Incremental.c | |
parent | 072b112dfb182c8e1f9c953b35c55e4c869dd15b (diff) |
Run Grow_restart/Grow_continue when assembling the content of a container.
As containers can now grow, we need to use both Grow_restart (to
replay any backup-file) and Grow_continue when assembling the content
of a container.
Note that we don't pass a backup-file when doing incremental assembly.
If such is needed in that case, the assembly will fail.
To restart such arrays, explicit assembly is required.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
-rw-r--r-- | Incremental.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Incremental.c b/Incremental.c index 91359f4e..300bdca7 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1555,7 +1555,7 @@ static int Incremental_container(struct supertype *st, char *devname, } assemble_container_content(st, mdfd, ra, runstop, - chosen_name, verbose); + chosen_name, verbose, NULL); close(mdfd); } |