diff options
author | NeilBrown <neilb@suse.de> | 2013-09-13 02:51:20 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-13 02:51:20 +0200 |
commit | d5a4041647d2b3328ce45ff727afe37477f07c75 (patch) | |
tree | e7336c6408b3631cf00cee4e010f96dacf2e9814 /Manage.c | |
parent | DDF: brief_examine_subarrays_ddf: print array name (diff) | |
download | mdadm-d5a4041647d2b3328ce45ff727afe37477f07c75.tar.xz mdadm-d5a4041647d2b3328ce45ff727afe37477f07c75.zip |
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 'Manage.c')
-rw-r--r-- | Manage.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -170,7 +170,7 @@ static void remove_devices(char *devnm, char *path) free(path2); } -int Manage_run(char *devname, int fd, int verbose) +int Manage_run(char *devname, int fd, struct context *c) { /* Run the array. Array must already be configured * Requires >= 0.90.0 @@ -187,7 +187,7 @@ int Manage_run(char *devname, int fd, int verbose) return 1; } strcpy(nm, nmp); - return IncrementalScan(verbose, nm); + return IncrementalScan(c, nm); } int Manage_stop(char *devname, int fd, int verbose, int will_retry) |