diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index d899204d3743..60835dfd058e 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -2083,6 +2083,8 @@ static int add_new_disk(mddev_t * mddev, mdu_disk_info_t *info) | |||
2083 | err = bind_rdev_to_array(rdev, mddev); | 2083 | err = bind_rdev_to_array(rdev, mddev); |
2084 | if (err) | 2084 | if (err) |
2085 | export_rdev(rdev); | 2085 | export_rdev(rdev); |
2086 | |||
2087 | set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); | ||
2086 | if (mddev->thread) | 2088 | if (mddev->thread) |
2087 | md_wakeup_thread(mddev->thread); | 2089 | md_wakeup_thread(mddev->thread); |
2088 | return err; | 2090 | return err; |