Grow: fix that preventing resize of array to 32bit size.
If the request --size to --grow an array to is 32bits (i.e. msb in bit 32) then mdadm make wrong choice and uses ioctl instead of setting component_size via sysfs and the change is ignored. This is fixed by using correct casts. Reported-and-tested-by: Killian De Volder <killian.de.volder@megasoft.be> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
d31ad6439e
commit
4e9a3dd16d
Loading…
Reference in New Issue