commit | de171cb9a52598cc023adceafc6c166112401386 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Jan 31 11:57:42 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Mon Jan 31 11:57:42 2011 +1100 |
tree | 56fc899c45b538dedba0fc139e3213a0f47f9a59 | |
parent | 1f0324caefd39985e9fe052fac97da31694db31e [diff] |
md: revert change to raid_disks on failure. If we try to update_raid_disks and it fails, we should put 'delta_disks' back to zero. This is important because some code, such as slot_store, assumes that delta_disks has been validated. Signed-off-by: NeilBrown <neilb@suse.de>