diff options
author | Wang Long <wanglong19@meituan.com> | 2017-12-05 07:23:19 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-06 09:18:00 -0700 |
commit | bbbc3c1cfaf6900d24e3c9fcaac25d267ad2bc40 (patch) | |
tree | c3409f98e300f70fa2e53a9bb53dc7346952fe8d /fs/fs-writeback.c | |
parent | 91f7b74aca363da5f294c9a24e870ae6ba3a27d3 (diff) | |
download | linux-bbbc3c1cfaf6900d24e3c9fcaac25d267ad2bc40.tar.gz linux-bbbc3c1cfaf6900d24e3c9fcaac25d267ad2bc40.tar.bz2 linux-bbbc3c1cfaf6900d24e3c9fcaac25d267ad2bc40.zip |
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>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index cea4836385b7..d4d04fee568a 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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 |