diff options
Diffstat (limited to 'fs/fs-writeback.c')
| -rw-r--r-- | fs/fs-writeback.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index d5be1693ac9..d67989b8ba4 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -73,9 +73,9 @@ static void bdi_queue_work(struct backing_dev_info *bdi,  	 * If the default thread isn't there, make sure we add it. When  	 * it gets created and wakes up, we'll run this work.  	 */ -	if (unlikely(list_empty_careful(&bdi->wb_list))) +	if (unlikely(!bdi->wb.task)) {  		wake_up_process(default_backing_dev_info.wb.task); -	else { +	} else {  		struct bdi_writeback *wb = &bdi->wb;  		if (wb->task)  |