btrfs: check-integrity: simplify bio allocation in btrfsic_read_block
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:19 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commit91e3b5f1e293a2e617313a85bafd80d5eb4810f1
tree53cb5c38f21a0928243f4a4b8b81e121f2ef96e5
parent58ff51f148ec498758d66c226cb2f7a065b36478
btrfs: check-integrity: simplify bio allocation in btrfsic_read_block

btrfsic_read_block does not need the btrfs_bio structure, so switch to
plain bio_alloc (that also does not fail as it's backed by a bioset).

Reviewed-by: Qu Wenruo <wqu@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/check-integrity.c