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 Feb 2022 15:35:58 +0000 (16:35 +0100)
commit712734e777a956d8550ce7f3ad9e61f7a280deef
tree756809d4549233e10ef1c13d2fe4de945a14e439
parent754e0b0e35608ed5206d6a67a791563c631cec07
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