aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r--drivers/md/raid1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index f5204149ab65..c618015f07f6 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -1611,7 +1611,6 @@ static int run(mddev_t *mddev)
1611 mdname(mddev)); 1611 mdname(mddev));
1612 goto out_free_conf; 1612 goto out_free_conf;
1613 } 1613 }
1614 if (mddev->bitmap) mddev->thread->timeout = mddev->bitmap->daemon_sleep * HZ;
1615 1614
1616 printk(KERN_INFO 1615 printk(KERN_INFO
1617 "raid1: raid set %s active with %d out of %d mirrors\n", 1616 "raid1: raid set %s active with %d out of %d mirrors\n",
@@ -1783,13 +1782,6 @@ static void raid1_quiesce(mddev_t *mddev, int state)
1783 lower_barrier(conf); 1782 lower_barrier(conf);
1784 break; 1783 break;
1785 } 1784 }
1786 if (mddev->thread) {
1787 if (mddev->bitmap)
1788 mddev->thread->timeout = mddev->bitmap->daemon_sleep * HZ;
1789 else
1790 mddev->thread->timeout = MAX_SCHEDULE_TIMEOUT;
1791 md_wakeup_thread(mddev->thread);
1792 }
1793} 1785}
1794 1786
1795 1787