btrfs, mm: remove the punt_to_cgroup field in struct writeback_control
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Mar 2023 00:49:50 +0000 (09:49 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:22 +0000 (18:01 +0200)
commit0a0596fbbe5bddd28b1dfae7e7ecb6d70bdbf059
treeff8c4f31689ef3c6653bc73ee89d58ece9dd2e05
parent896d7c1a90f33e9c6ee9002d53980dde4d8b99ee
btrfs, mm: remove the punt_to_cgroup field in struct writeback_control

punt_to_cgroup is only used by extent_write_locked_range, but that
function also directly controls the bio flags for the actual submission.
Remove th punt_to_cgroup field, and just set REQ_CGROUP_PUNT directly
in extent_write_locked_range.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
include/linux/writeback.h