summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2012-09-11 08:28:18 +0800
committerFengguang Wu <fengguang.wu@intel.com>2012-09-11 08:29:50 +0800
commit0e2f2b23672055e1301c11509d5b8eda7b718d8e (patch)
tree76f7ecd7a508b4f235e23eb367aa3c59af2290a5 /fs/fs-writeback.c
parent7034ed132f0af8526f4a8eb7229dd25366a20bfa (diff)
downloadlinux-0e2f2b23672055e1301c11509d5b8eda7b718d8e.tar.bz2
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 <jack@suse.cz> Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index be3efc4f64f4..fd255c03d864 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,