aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 5b93829f3d49..f2d5628d51cb 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -6984,9 +6984,6 @@ void md_do_sync(mddev_t *mddev)
6984 } else if (test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery)) 6984 } else if (test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery))
6985 mddev->resync_min = mddev->curr_resync_completed; 6985 mddev->resync_min = mddev->curr_resync_completed;
6986 mddev->curr_resync = 0; 6986 mddev->curr_resync = 0;
6987 if (!test_bit(MD_RECOVERY_INTR, &mddev->recovery))
6988 mddev->curr_resync_completed = 0;
6989 sysfs_notify(&mddev->kobj, NULL, "sync_completed");
6990 wake_up(&resync_wait); 6987 wake_up(&resync_wait);
6991 set_bit(MD_RECOVERY_DONE, &mddev->recovery); 6988 set_bit(MD_RECOVERY_DONE, &mddev->recovery);
6992 md_wakeup_thread(mddev->thread); 6989 md_wakeup_thread(mddev->thread);