]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
btrfs: remove btree_readpage
authorNikolay Borisov <nborisov@suse.com>
Mon, 14 Sep 2020 09:37:03 +0000 (12:37 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:19 +0000 (12:13 +0200)
commit2f1d3e4b930dcb83ac7ec9b106d7adb4d36c4c9d
treefa3f5905b5ad84cdb051c08d9833f8441f950e84
parentbb56f02f26fe23798edb1b2175707419b28c752a
btrfs: remove btree_readpage

There is no way for this function to be called as ->readpage() since
it's called from
generic_file_buffered_read/filemap_fault/do_read_cache_page/readhead
code. BTRFS doesn't utilize the first 3 for the btree inode and
implements it's owon readhead mechanism. So simply remove the function.

Reviewed-by: Qu Wenruo <wqu@suse.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