Commit bbbc3c1c authored by Wang Long's avatar Wang Long Committed by Jens Axboe

writeback: update comment in inode_io_list_move_locked

The @head can be wb->b_dirty_time, so update the comment.
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarWang Long <wanglong19@meituan.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 91f7b74a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment