Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wang Long and committed by
Jens Axboe
bbbc3c1c 91f7b74a

+1 -1
+1 -1
fs/fs-writeback.c
··· 126 126 * inode_io_list_move_locked - move an inode onto a bdi_writeback IO list 127 127 * @inode: inode to be moved 128 128 * @wb: target bdi_writeback 129 - * @head: one of @wb->b_{dirty|io|more_io} 129 + * @head: one of @wb->b_{dirty|io|more_io|dirty_time} 130 130 * 131 131 * Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io. 132 132 * Returns %true if @inode is the first occupant of the !dirty_time IO