btrfs: remove btree_get_extent
authorNikolay Borisov <nborisov@suse.com>
Mon, 14 Sep 2020 09:37:05 +0000 (12:37 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:19 +0000 (12:13 +0200)
commit208d6341e85b4f2628a90438fce5d8a2dd97d6ba
tree250c300b031e227df903de702d0391f69de0fd6d
parent0420177c08b2d86034a98d45b7d3609bdc986fd2
btrfs: remove btree_get_extent

The sole purpose of this function was to satisfy the requirements of
__do_readpage. Since that function is no longer used to read metadata
pages the need to keep btree_get_extent around has also disappeared.
Simply remove it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h