aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 2fbf867f8b30..2255e33a3ecb 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -2277,7 +2277,7 @@ static void raid10_quiesce(mddev_t *mddev, int state)
2277 } 2277 }
2278 if (mddev->thread) { 2278 if (mddev->thread) {
2279 if (mddev->bitmap) 2279 if (mddev->bitmap)
2280 mddev->thread->timeout = mddev->bitmap->daemon_sleep * HZ; 2280 mddev->thread->timeout = mddev->bitmap_info.daemon_sleep * HZ;
2281 else 2281 else
2282 mddev->thread->timeout = MAX_SCHEDULE_TIMEOUT; 2282 mddev->thread->timeout = MAX_SCHEDULE_TIMEOUT;
2283 md_wakeup_thread(mddev->thread); 2283 md_wakeup_thread(mddev->thread);