From 0e2f2b23672055e1301c11509d5b8eda7b718d8e Mon Sep 17 00:00:00 2001 From: Wang Sheng-Hui Date: Tue, 11 Sep 2012 08:28:18 +0800 Subject: 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: Jan Kara Signed-off-by: Wang Sheng-Hui --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index be3efc4f64f..fd255c03d86 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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, -- cgit v1.2.3-70-g09d2