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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index c4bdf0601757..dd3dfe42d5a9 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -6473,10 +6473,11 @@ void md_do_sync(mddev_t *mddev)
6473 mddev->curr_resync = 2; 6473 mddev->curr_resync = 2;
6474 6474
6475 try_again: 6475 try_again:
6476 if (kthread_should_stop()) { 6476 if (kthread_should_stop())
6477 set_bit(MD_RECOVERY_INTR, &mddev->recovery); 6477 set_bit(MD_RECOVERY_INTR, &mddev->recovery);
6478
6479 if (test_bit(MD_RECOVERY_INTR, &mddev->recovery))
6478 goto skip; 6480 goto skip;
6479 }
6480 for_each_mddev(mddev2, tmp) { 6481 for_each_mddev(mddev2, tmp) {
6481 if (mddev2 == mddev) 6482 if (mddev2 == mddev)
6482 continue; 6483 continue;