]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: store a pointer to a btrfs_bio in struct btrfs_bio_ctrl
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Mar 2023 16:39:43 +0000 (17:39 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:17 +0000 (18:01 +0200)
commit9dfde1b47b9d7e090d9bf34f8a7ef4d89735f9e6
tree837759e4a1c8175d55ff74f2f3806d0a479e6539
parentd733ea012db32ea4354c6d89b9538bbe8aa9388e
btrfs: store a pointer to a btrfs_bio in struct btrfs_bio_ctrl

The bio in struct btrfs_bio_ctrl must be a btrfs_bio, so store a pointer
to the btrfs_bio for better type checking.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Qu Wenruo <wqu@suse.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/extent_io.c