Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: tree-log: change how we wait on 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 instead of filemap_fdatawait_range as it waits for the same bit EXTENT_BUFFER_WRITEBACK, and remove btrfs_wait_tree_block_writeback completely. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>