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>
Mon, 14 Mar 2022 12:13:46 +0000 (13:13 +0100)
commitc816d705b9dbc5ca870bb23e49aa9715da8384b9
treee2049e720c718bebdf09c0d27aa8d13fa0299cdc
parent09688c0166e76ce2fb85e86b9d99be8b0084cdf9
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