]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: add_to_super_ddf: Use same amount of workspace as other disks
authormwilck@arcor.de <mwilck@arcor.de>
Wed, 3 Jul 2013 20:27:59 +0000 (22:27 +0200)
committerNeilBrown <neilb@suse.de>
Mon, 8 Jul 2013 06:49:28 +0000 (16:49 +1000)
commit4ee8cca90e07af70d0a12129ed7f817ae3f0dfd7
tree506aedcc788ef2b25e53af1bb272d64af27de543
parent4a3ca8acc378a56e9a2b9017a9fcc7cfa6aee0f9
DDF: add_to_super_ddf: Use same amount of workspace as other disks

If there are already disks in the container, reserve the same amount
of workspace as the first disk. Fill in the primary/secondary/
workspace LBA values.

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