btrfs: raid56: add a bio_list_put helper
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2023 06:23:28 +0000 (07:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:54 +0000 (19:38 +0100)
commit801fcfc5d790f4a9be2897713bd6dd08bed253f1
tree12553ae747e3e6366b7d099114e71df8b24d1690
parent1c76fb7b31a43ad8b63faa3c6612b04eb3dea5d6
btrfs: raid56: add a bio_list_put helper

Add a helper to put all bios in a list. This does not need to be added
to block layer as there are no other users of such code.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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/raid56.c