diff options
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 7a491771ff4d..0ea34858637a 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -2722,6 +2722,7 @@ slot_store(struct md_rdev *rdev, const char *buf, size_t len) | |||
2722 | rdev->saved_raid_disk = slot; | 2722 | rdev->saved_raid_disk = slot; |
2723 | else | 2723 | else |
2724 | rdev->saved_raid_disk = -1; | 2724 | rdev->saved_raid_disk = -1; |
2725 | clear_bit(In_sync, &rdev->flags); | ||
2725 | err = rdev->mddev->pers-> | 2726 | err = rdev->mddev->pers-> |
2726 | hot_add_disk(rdev->mddev, rdev); | 2727 | hot_add_disk(rdev->mddev, rdev); |
2727 | if (err) { | 2728 | if (err) { |