]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: __write_init_super_ddf: use correct VD conf
authormwilck@arcor.de <mwilck@arcor.de>
Fri, 1 Mar 2013 22:28:30 +0000 (23:28 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 4 Mar 2013 05:13:21 +0000 (16:13 +1100)
commite3c2a365e9489ad0fa32393e534368486f335b60
tree479af90a2101191ee5c629d13a47e1e71349ed2e
parent4e5870181ae4ec7119f5bea460ef9fa4665222a6
DDF: __write_init_super_ddf: use correct VD conf

When writing back the DDF structure, make sure that on each disk
we write the configs that include this disk even if a secondary
RAID level is present. Otherwise the secondary RAID will not be
read correctly any more when we open the device next time.

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