commit | 83dc881d678a8e973212afa0c5e4fb2fe1b06d4e | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Jan 12 11:02:50 2021 -0800 |
committer | Jan Kara <jack@suse.cz> | Wed Jan 13 17:26:45 2021 +0100 |
tree | 4257861433f6099f70a06f53b27866220a9bf66d | |
parent | 35d14f278e530ecb635ab00de984065ed90ee12f [diff] |
fs: drop redundant check from __writeback_single_inode() 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. Link: https://lore.kernel.org/r/20210112190253.64307-9-ebiggers@kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jan Kara <jack@suse.cz>