diff options
author | David Sterba <dsterba@suse.com> | 2018-07-18 19:28:09 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:56 +0200 |
commit | 00032d38eaa89c76de7d9c1ae6de8c48c14edd74 (patch) | |
tree | 5bc41e418c14cd74ccf1ec5e80eaa4308aab9d3e /fs/btrfs/extent_io.h | |
parent | btrfs: drop extent_io_ops::tree_fs_info callback (diff) | |
download | linux-00032d38eaa89c76de7d9c1ae6de8c48c14edd74.tar.xz linux-00032d38eaa89c76de7d9c1ae6de8c48c14edd74.zip |
btrfs: drop extent_io_ops::merge_bio_hook callback
The data and metadata callback implementation both use the same
function. We can remove the call indirection completely.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 004517f3eb35..5c07f87c2ec9 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -101,9 +101,6 @@ struct extent_io_ops { int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset, struct page *page, u64 start, u64 end, int mirror); - int (*merge_bio_hook)(struct page *page, unsigned long offset, - size_t size, struct bio *bio, - unsigned long bio_flags); int (*readpage_io_failed_hook)(struct page *page, int failed_mirror); void (*set_range_writeback)(void *private_data, u64 start, u64 end); |