fs: btrfs: Introduce btrfs_read_extent_inline() and btrfs_read_extent_reg()
authorQu Wenruo <wqu@suse.com>
Wed, 24 Jun 2020 16:03:09 +0000 (18:03 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 00:57:27 +0000 (20:57 -0400)
commita26a6bedafcf3ddacb90ec4353306c2f8a5e36dc
tree439039164adcd623683276767e05539dbce623ad
parent0cc8fc65c15efde484f7f6a7444ef94ce86c13b1
fs: btrfs: Introduce btrfs_read_extent_inline() and btrfs_read_extent_reg()

These two functions are used to do sector aligned read, which will be
later used to implement btrfs_file_read().

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/inode.c