]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: put expansion finalization in to one place
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 3 Feb 2011 06:46:17 +0000 (17:46 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 3 Feb 2011 06:46:17 +0000 (17:46 +1100)
commite154ced310878c96700cd0f73e5c5df60e6352b3
treefc2ce9a821a1f572a62c63712366312a57569d79
parent02eedb57aa0c6f7fdeda1b612f35545ab4eee58f
imsm: FIX: put expansion finalization in to one place

When a->last_checkpoint variable can reach array end,
reshape finalization can be put in to single place.

There is no need to reset migration variables.
imsm_set_disk() will call end_migration() and this sets
all migration variables to required values.

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