diff mbox

writeback: update comment in inode_io_list_move_locked

Message ID 1512476599-6205-1-git-send-email-wanglong19@meituan.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wang Long Dec. 5, 2017, 12:23 p.m. UTC
The @head can be wb->b_dirty_time, so update the comment.

Signed-off-by: Wang Long <wanglong19@meituan.com>
---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tejun Heo Dec. 11, 2017, 2:30 p.m. UTC | #1
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 <wanglong19@meituan.com>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.
Jens Axboe Jan. 5, 2018, 4:41 p.m. UTC | #2
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 Jan. 5, 2018, 4:41 p.m. UTC | #3
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.
diff mbox

Patch

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