diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2012-04-13 16:52:07 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-04-17 04:33:38 +0200 |
commit | 58d26a2a81c4ad93ccce88865f2c4ac2588bec69 (patch) | |
tree | 3d41063e96ffc855c4c697dec307e2fc08d59012 /Grow.c | |
parent | imsm: FIX: Component size alignment check (diff) | |
download | mdadm-58d26a2a81c4ad93ccce88865f2c4ac2588bec69.tar.xz mdadm-58d26a2a81c4ad93ccce88865f2c4ac2588bec69.zip |
FIX: Size change is possible as standalone change only
Size change is possible as standalone change only. To make sure size change
is not requested pass '-1' as size parameter.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Grow.c')
-rw-r--r-- | Grow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1973,7 +1973,7 @@ size_change_error: /* Impose these changes on a single array. First * check that the metadata is OK with the change. */ - if (reshape_super(st, info.component_size, info.new_level, + if (reshape_super(st, -1, info.new_level, info.new_layout, info.new_chunk, info.array.raid_disks, info.delta_disks, backup_file, devname, APPLY_METADATA_CHANGES, |