fix: imsm: re-enable size expansion to the max value
Size expansion to the 'max' value has been broken since
the following patch:
commit d04f65f48c
Change the values for "max size" from -1 to 1.
This patch re-enables it.
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
887a7a9e98
commit
d5d2c61473
|
@ -9737,7 +9737,7 @@ enum imsm_reshape_type imsm_analyze_change(struct supertype *st,
|
|||
*/
|
||||
current_size = info.custom_array_size / data_disks;
|
||||
|
||||
if (geo->size > 0) {
|
||||
if ((geo->size > 0) && (geo->size != MAX_SIZE)) {
|
||||
/* align component size
|
||||
*/
|
||||
geo->size = imsm_component_size_aligment_check(
|
||||
|
|
Loading…
Reference in New Issue