btrfs: open code submit_encoded_read_bio
authorChristoph Hellwig <hch@lst.de>
Sat, 21 Jan 2023 06:50:26 +0000 (07:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:53 +0000 (19:38 +0100)
commit48253076c3a93f795fcd84ffdc97c5e763709dee
tree47aa6a757ad5293ebbf8cd477022eedfdf358377
parentf8a02dc6fd38da3dd045509ec321b2f9130bd003
btrfs: open code submit_encoded_read_bio

Open code the functionality in the only caller and remove the now
superfluous error handling there.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c