]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: add_to_super_ddf: allow empty slots in phys disk table
authormwilck@arcor.de <mwilck@arcor.de>
Wed, 3 Jul 2013 20:27:58 +0000 (22:27 +0200)
committerNeilBrown <neilb@suse.de>
Mon, 8 Jul 2013 06:49:25 +0000 (16:49 +1000)
commit4a3ca8acc378a56e9a2b9017a9fcc7cfa6aee0f9
treed182c7cb2a0c45a78c276da474f82b2a25c911a3
parentfcc22180b171ef9ace5a60efc702ac66927c5faa
DDF: add_to_super_ddf: allow empty slots in phys disk table

The used slots in the phys disk table aren't necessarily the
first ones. Rather, unused entries are represented by entries
where the GUID is all 0xff.

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