btrfs: move btrfs_readpage to extent_io.c
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Apr 2022 14:33:24 +0000 (16:33 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:14 +0000 (17:03 +0200)
commit7aab8b32825eecd36ce8eef72dffd331724185da
tree435581cd031d477aacc22f59ba0ddaffeb35f06d
parentd201238ccd2f30b9bfcfadaeae0972e3a486a176
btrfs: move btrfs_readpage to extent_io.c

Keep btrfs_readpage next to btrfs_do_readpage and the other address
space operations.  This allows to keep submit_one_bio and
struct btrfs_bio_ctrl file local in extent_io.c.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c