aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/backing-dev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index b1dc2d4b9cdd..72e6eb96efe2 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -358,6 +358,10 @@ static int bdi_forker_thread(void *ptr)
358 bdi_add_default_flusher_thread(bdi); 358 bdi_add_default_flusher_thread(bdi);
359 } 359 }
360 360
361 /* Keep working if default bdi still has things to do */
362 if (!list_empty(&me->bdi->work_list))
363 __set_current_state(TASK_RUNNING);
364
361 if (list_empty(&bdi_pending_list)) { 365 if (list_empty(&bdi_pending_list)) {
362 unsigned long wait; 366 unsigned long wait;
363 367