summaryrefslogtreecommitdiff
path: root/Incremental.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-03-08 17:14:00 +1100
committerNeilBrown <neilb@suse.de>2011-03-08 17:14:00 +1100
commit4968025884885c078336e231f8f117e7e50618ba (patch)
tree9a777a716e4fbc24ada9428ea669e88e0cea01f3 /Incremental.c
parent072b112dfb182c8e1f9c953b35c55e4c869dd15b (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.c2
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);
}