]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
FIX: delta_disk can have UnSet value
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 14 Feb 2011 00:04:09 +0000 (11:04 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Feb 2011 00:04:09 +0000 (11:04 +1100)
commit41784c88f3311d4d05bdec525af9aeb23f48eaa0
treeaa45a5c995ab996fc17b50956c9d4924f5baac55
parent196b0d4497dcff4ab909e6ac7a2a581d2c744d47
FIX: delta_disk can have UnSet value

Delta_disk can be set to UnSet value.
This can a cause to pass wrong parameter to reshape_super().
To avoid such situations raid_disks and delta_disks parameters
have to be passed to reshape_super() separately.
It will be up to reshape_super() function validation
and usage of this parameters to avoid not valid values.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h
super-intel.c