btrfs: replace btrfs_wait_tree_block_writeback by wait_on_extent_buffer_writeback
authorJosef Bacik <josef@toxicpanda.com>
Thu, 26 Jan 2023 21:01:00 +0000 (16:01 -0500)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:54 +0000 (19:38 +0100)
commit79b02ec1d8ce1fafc8c39f888dbba6a3aa9a35cc
treedd9ca3258bbcebfa51c1ad7104e4a331ddaa3084
parent98c8d683c291285be35c50579ac984e71d17ddc1
btrfs: replace btrfs_wait_tree_block_writeback by wait_on_extent_buffer_writeback

This is used in the tree-log code and is a holdover from previous
iterations of extent buffer writeback.  We can simply use
wait_on_extent_buffer_writeback here, and remove
btrfs_wait_tree_block_writeback completely as it's equivalent (waiting
on page write writeback).

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c