]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: allow empty slots in virt disk table
authormwilck@arcor.de <mwilck@arcor.de>
Wed, 3 Jul 2013 20:27:50 +0000 (22:27 +0200)
committerNeilBrown <neilb@suse.de>
Mon, 8 Jul 2013 05:28:31 +0000 (15:28 +1000)
commitfb9d0acbbc10af877b2ab772c6b796cd14d6c837
treebae0834aef078dd4cb3bc3b0dcd66eadceb39022
parent0777d17d587478447811c025a157191b2eaf8446
DDF: allow empty slots in virt disk table

The DDF code was assuming that the VD slots 0..populated_vdes
were used and the rest was unused. Remove this assumption and
deal with empty slots instead.

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