diff options
Diffstat (limited to 'super-ddf.c')
-rw-r--r-- | super-ddf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/super-ddf.c b/super-ddf.c index b1cb268..3feea57 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -2413,8 +2413,12 @@ static int write_init_super_ddf(struct supertype *st) /* FIXME I need to close the fds! */ return 0; - } else + } else { + struct dl *d; + for (d = ddf->dlist; d; d=d->next) + while (Kill(d->devname, NULL, 0, 1, 1) == 0); return __write_init_super_ddf(st, 1); + } } #endif |