md: Don't allow slot_store while resync/recovery is happening.
authorNeilBrown <neilb@suse.de>
Wed, 2 Feb 2011 00:57:13 +0000 (11:57 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 2 Feb 2011 00:57:13 +0000 (11:57 +1100)
Activating a spare in an array while resync/recovery is already
happening can lead the that spare being marked in-sync when it isn't
really.
So don't allow the 'slot' to be set (this activating the device)
while resync/recovery is happening.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found