diff options
author | NeilBrown <neilb@suse.de> | 2011-02-02 11:57:13 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-02-02 11:57:13 +1100 |
commit | c6751b2bde477f56ceef67aa1d298ce44e8e2e23 (patch) | |
tree | 59916ec74802396ec4b3f871d27232550848bc8c /drivers/md/raid10.c | |
parent | 7281f8129c362436237b82c8c026494dd36479dc (diff) | |
download | kernel_samsung_smdk4412-c6751b2bde477f56ceef67aa1d298ce44e8e2e23.zip kernel_samsung_smdk4412-c6751b2bde477f56ceef67aa1d298ce44e8e2e23.tar.gz kernel_samsung_smdk4412-c6751b2bde477f56ceef67aa1d298ce44e8e2e23.tar.bz2 |
md: Don't allow slot_store while resync/recovery is happening.
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>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions