writeback: update comment in inode_io_list_move_locked
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>
This commit is contained in:
parent
91f7b74aca
commit
bbbc3c1cfa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user