Re: [PATCH v2 08/12] fs: drop redundant check from __writeback_single_inode()

Christoph Hellwig
2021-01-11T10:53:32Z

On Fri, Jan 08, 2021 at 11:58:59PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
>
> wbc->for_sync implies wbc->sync_mode == WB_SYNC_ALL, so there's no need
> to check for both. Just check for WB_SYNC_ALL.
>
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>