2017-12-06 03:11:00

by wanglong

[permalink] [raw]
Subject: [PATCH] writeback: update comment in inode_io_list_move_locked

The @head can be wb->b_dirty_time, so update the comment.

Signed-off-by: Wang Long <[email protected]>
---
fs/fs-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 8d477cf..7cb1dd1 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
--
1.8.3.1


2017-12-11 14:30:22

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] writeback: update comment in inode_io_list_move_locked

On Tue, Dec 05, 2017 at 07:23:19AM -0500, Wang Long wrote:
> The @head can be wb->b_dirty_time, so update the comment.
>
> Signed-off-by: Wang Long <[email protected]>

Acked-by: Tejun Heo <[email protected]>

Thanks.

--
tejun

2018-01-05 16:41:58

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] writeback: update comment in inode_io_list_move_locked

On 12/5/17 5:23 AM, Wang Long wrote:
> The @head can be wb->b_dirty_time, so update the comment.

Applied, thanks Wang.

--
Jens Axboe

2018-01-05 16:42:04

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] writeback: update comment in inode_io_list_move_locked

On 12/5/17 5:23 AM, Wang Long wrote:
> The @head can be wb->b_dirty_time, so update the comment.

Applied, thanks Wang.

--
Jens Axboe