]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: write_init_super_ddf: don't zero superblocks for subarrays
authormwilck@arcor.de <mwilck@arcor.de>
Mon, 8 Jul 2013 21:50:39 +0000 (23:50 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 10 Jul 2013 00:40:18 +0000 (10:40 +1000)
commit19041058d2e3414db2bff4c2933224b10b65b0a8
treed6788632868fcedf9cef421a42dde37de5834e71
parent24a216bf408db4ec61ec6f735d1eb84a0618bfbb
DDF: write_init_super_ddf: don't zero superblocks for subarrays

commit d682f344 inserted this call to "Kill" in write_init_super_ddf:

    "Matching the functionality already in super0 and super1, when
    we first create a container, remove any other recognisable metadata to
    ensure it doesn't cause confusion."

But we should do this only at first container creation, not when
subarrays are created later.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c