summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-tegra114.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-01-26 16:33:45 +0800
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:59:01 +0100
commit6869b0a8be775e920be54ee9b69a743ca20d8332 (patch)
tree659659446542261708a6591d4a0f88e718f5ed7c /drivers/spi/spi-tegra114.c
parentd0c2f4fa555e70324ec2a129b822ab58f172cc62 (diff)
btrfs: merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to PAGE_START_WRITEBACK
PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK are two defines used in __process_pages_contig(), to let the function know to clear page dirty bit and then set page writeback. However page writeback and dirty bits are conflicting (at least for sector size == PAGE_SIZE case), this means these two have to be always updated together. This means we can merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to PAGE_START_WRITEBACK. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/spi/spi-tegra114.c')
0 files changed, 0 insertions, 0 deletions