提交 df96e96f 编写于 作者: J Jens Axboe

writeback: fix mixed up arguments to bdi_start_writeback()

The laptop mode timer had the nr_pages and sb_locked arguments
mixed up.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 c2c4986e
......@@ -707,7 +707,7 @@ void laptop_mode_timer_fn(unsigned long data)
*/
if (bdi_has_dirty_io(&q->backing_dev_info))
bdi_start_writeback(&q->backing_dev_info, NULL, 0, nr_pages);
bdi_start_writeback(&q->backing_dev_info, NULL, nr_pages, 0);
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册