提交 0e2f2b23 编写于 作者: W Wang Sheng-Hui 提交者: Fengguang Wu

writeback: correct comment for move_expired_inodes()

The function scans @delaying_queue and stops at the first inode
whose dirtied_when is after *work->older_than_this. So the expired
ones being moved are those before *work->older_than_this. Correct
the comment here.
Reviewed-by: NJan Kara <jack@suse.cz>
Signed-off-by: NWang Sheng-Hui <shhuiw@gmail.com>
上级 7034ed13
......@@ -248,7 +248,7 @@ static bool inode_dirtied_after(struct inode *inode, unsigned long t)
}
/*
* Move expired (dirtied after work->older_than_this) dirty inodes from
* Move expired (dirtied before work->older_than_this) dirty inodes from
* @delaying_queue to @dispatch_queue.
*/
static int move_expired_inodes(struct list_head *delaying_queue,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册