md: revert change to raid_disks on failure.
authorNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 00:57:42 +0000 (11:57 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 00:57:42 +0000 (11:57 +1100)
commitde171cb9a52598cc023adceafc6c166112401386
tree56fc899c45b538dedba0fc139e3213a0f47f9a59
parent1f0324caefd39985e9fe052fac97da31694db31e
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>
drivers/md/md.c