]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
writeback: update comment in inode_io_list_move_locked
authorWang Long <wanglong19@meituan.com>
Tue, 5 Dec 2017 12:23:19 +0000 (07:23 -0500)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
The @head can be wb->b_dirty_time, so update the comment.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Wang Long <wanglong19@meituan.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/fs-writeback.c

index cea4836385b72ee16f1a6d0f8b347f4b4698512d..d4d04fee568ac13329abf91bc8ab803a4808afcc 100644 (file)
@@ -126,7 +126,7 @@ static void wb_io_lists_depopulated(struct bdi_writeback *wb)
  * inode_io_list_move_locked - move an inode onto a bdi_writeback IO list
  * @inode: inode to be moved
  * @wb: target bdi_writeback
- * @head: one of @wb->b_{dirty|io|more_io}
+ * @head: one of @wb->b_{dirty|io|more_io|dirty_time}
  *
  * Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io.
  * Returns %true if @inode is the first occupant of the !dirty_time IO