]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit864c65c091f3bbb98c95c754c3cbd38291b7d7a6
treefc04866d78037e7cac16bb0d4672dc653757abb6
parent0b95737149f83fd0e37c57f4dd73327d0a077a59
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