Re: [PATCH] writeback: fix comment in __mark_inode_dirty

From: Tejun Heo
Date: Tue Dec 05 2017 - 10:48:43 EST


Hello, Wang.

On Tue, Dec 05, 2017 at 12:52:54AM -0500, Wang Long wrote:
> Signed-off-by: Wang Long <wanglong19@xxxxxxxxxxx>
> ---
> 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 cea4836..8d477cf 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -2209,7 +2209,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
> trace_writeback_dirty_inode_enqueue(inode);
>
> /*
> - * If this is the first dirty inode for this bdi,
> + * If this is the first dirty inode for this wb,

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

This probably should go through the block tree tho. Please cc Jens
Axboe.

Thanks.

--
tejun