btrfs: simplify the bioc argument for handle_ops_on_dev_replace()
authorQu Wenruo <wqu@suse.com>
Tue, 7 Feb 2023 04:26:12 +0000 (12:26 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:14 +0000 (18:01 +0200)
commitbe5c7edbfdf1112cbbdd15700f33f37b66fc8976
tree4a8f94ca507dac2e122c20657cf3e15e272ac344
parent6ded22c1bfe6a8a91216046d5d4c01fd1442988b
btrfs: simplify the bioc argument for handle_ops_on_dev_replace()

There is no memory re-allocation for handle_ops_on_dev_replace(), thus
we don't need to pass a btrfs_io_context pointer.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c