btrfs: don't allocate a btrfs_bio for scrub bios
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:27 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commit75c17e6666c577d01aef8dffdf0231140abdd6c4
treeefe436626c7c23b2a1f1bcc274dc3815403d3fcb
parente1b4b44e005e2eeef63081fe0a79a6271f81fce4
btrfs: don't allocate a btrfs_bio for scrub bios

All the scrub bios go straight to the block device or the raid56 code,
none of which looks at the btrfs_bio.

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/scrub.c