]> git.baikalelectronics.ru Git - 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)
commitc4c41c08fb3d13243a1caa124b65b6e8b1b4875c
treefa3f5905b5ad84cdb051c08d9833f8441f950e84
parent443b4c7344319b6995a203973bdef90d56f87153
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