diff options
author | NeilBrown <neilb@suse.de> | 2013-09-13 10:51:20 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-13 10:51:20 +1000 |
commit | d5a4041647d2b3328ce45ff727afe37477f07c75 (patch) | |
tree | e7336c6408b3631cf00cee4e010f96dacf2e9814 /Assemble.c | |
parent | a8b25633544db9fb03bc3b12442aafbbae9c1e1c (diff) |
Make -IRs and --run work properly for containers.
We really need to make sure assemble_container_content()
gets called to finished the assembly of these.
Reported-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r-- | Assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1817,7 +1817,7 @@ int assemble_container_content(struct supertype *st, int mdfd, working++; } else if (errno == EEXIST) preexist++; - if (working + expansion == 0) + if (working + expansion == 0 && c->runstop <= 0) return 1;/* Nothing new, don't try to start */ map_update(&map, fd2devnm(mdfd), |