diff options
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r-- | mm/backing-dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 327e36d1d623..b1dc2d4b9cdd 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -342,6 +342,7 @@ static int bdi_forker_thread(void *ptr) | |||
342 | wb_do_writeback(me, 0); | 342 | wb_do_writeback(me, 0); |
343 | 343 | ||
344 | spin_lock_bh(&bdi_lock); | 344 | spin_lock_bh(&bdi_lock); |
345 | set_current_state(TASK_INTERRUPTIBLE); | ||
345 | 346 | ||
346 | /* | 347 | /* |
347 | * Check if any existing bdi's have dirty data without | 348 | * Check if any existing bdi's have dirty data without |
@@ -357,8 +358,6 @@ static int bdi_forker_thread(void *ptr) | |||
357 | bdi_add_default_flusher_thread(bdi); | 358 | bdi_add_default_flusher_thread(bdi); |
358 | } | 359 | } |
359 | 360 | ||
360 | set_current_state(TASK_INTERRUPTIBLE); | ||
361 | |||
362 | if (list_empty(&bdi_pending_list)) { | 361 | if (list_empty(&bdi_pending_list)) { |
363 | unsigned long wait; | 362 | unsigned long wait; |
364 | 363 | ||