diff options
author | NeilBrown <neilb@suse.de> | 2014-05-21 05:00:08 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-21 05:00:08 +0200 |
commit | 733eedc8f21dfe09349430d01bbfc38cf4d67ff2 (patch) | |
tree | 19a0c1c2339477099ea1e2e23fe3fd2d0cadf5d8 /super-ddf.c | |
parent | DDF: add data-offset information to --examine output. (diff) | |
download | mdadm-733eedc8f21dfe09349430d01bbfc38cf4d67ff2.tar.xz mdadm-733eedc8f21dfe09349430d01bbfc38cf4d67ff2.zip |
DDF: remove an old incorrect FIXME comment.
We mustn't close fds in write_init_super if ->update_tail
was set.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r-- | super-ddf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/super-ddf.c b/super-ddf.c index 943b51aa..d3234c5b 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -3259,13 +3259,15 @@ static int write_init_super_ddf(struct supertype *st) len); append_metadata_update(st, vc, tlen); - /* FIXME I need to close the fds! */ return 0; } else { struct dl *d; if (!currentconf) for (d = ddf->dlist; d; d=d->next) while (Kill(d->devname, NULL, 0, -1, 1) == 0); + /* Note: we don't close the fd's now, but a subsequent + * ->free_super() will + */ return __write_init_super_ddf(st); } } |