VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Jan Kara <jack@suse.cz> 2018-05-03 18:26:26 +0200 committer: Jens Axboe <axboe@kernel.dk> 2018-05-03 16:11:37 -0600 commit: b8b784958eccbf8f51ebeee65282ca3fd59ea391 parent: 8bfc3b4c6f9de815de4ab73784b9419348266a65
Commit Summary:
bdi: Fix oops in wb_workfn()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 47d7c151fcba..471d863958bc 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1961,7 +1961,7 @@ void wb_workfn(struct work_struct *work)
 	}
 
 	if (!list_empty(&wb->work_list))
-		mod_delayed_work(bdi_wq, &wb->dwork, 0);
+		wb_wakeup(wb);
 	else if (wb_has_dirty_io(wb) && dirty_writeback_interval)
 		wb_wakeup_delayed(wb);