btrfs: remove write and wait of struct walk_control
authorFilipe Manana <fdmanana@suse.com>
Tue, 4 Jan 2022 12:53:41 +0000 (12:53 +0000)
committerDavid Sterba <dsterba@suse.com>
Fri, 7 Jan 2022 14:11:14 +0000 (15:11 +0100)
commitdd503c2d5db4f8649962e1b2f7aa0378bb77d1cf
tree30b7051a2a81f09efff44e4e5e15518d424c37d5
parent36c86a9e1be3b29f9f075a946df55dfe1d818019
btrfs: remove write and wait of struct walk_control

The ->write and ->wait fields of struct walk_control, used for log trees,
are not used since 2008, more specifically since commit d0c803c4049c5c
("Btrfs: Record dirty pages tree-log pages in an extent_io tree") and
since commit d0c803c4049c5c ("Btrfs: Record dirty pages tree-log pages in
an extent_io tree"). So just remove them, along with the function
btrfs_write_tree_block(), which is also not used anymore after removing
the ->write member.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c