]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: add_to_super_ddf: be careful with workspace_lba
authormwilck@arcor.de <mwilck@arcor.de>
Tue, 24 Sep 2013 17:18:52 +0000 (19:18 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 16 Oct 2013 04:31:30 +0000 (15:31 +1100)
commit105e6e93a2b556560d0275bd5ceb29751de28469
tree15abb8f617cfdd2fc6aaa1c717ef567a7f6a05bf
parentf502b11c743d9fb27615776d42c2daea4edb0f97
DDF: add_to_super_ddf: be careful with workspace_lba

Some vendor DDF structures interpret workspace_lba
very differently then us. Make a sanity check on the value
before using it for config_size.

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