btrfs: decide bio cloning inside submit_stripe_bio
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Aug 2022 08:03:28 +0000 (10:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:59 +0000 (12:27 +0200)
commit28793b194e6a0e50d4abc6fec7472799aa734d1f
treefc04866d78037e7cac16bb0d4672dc653757abb6
parent32747c44550c82a6a6ddf365b91216e4b8b0a6d6
btrfs: decide bio cloning inside submit_stripe_bio

Remove the orig_bio argument as it can be derived from the bioc, and
the clone argument as it can be calculated from bioc and dev_nr.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.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/volumes.c