btrfs: don't pass fs_info to describe_relocation()
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 5 Jun 2024 12:55:54 +0000 (14:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:23 +0000 (15:33 +0200)
commit17a21d79149b2421120e2f2f8fd7e32f789ae6c7
treea2575f9326bd7bb3123b7b5870912020e27eb28e
parent912eea7e24543661e77df1f1ccc05ea35c6ea029
btrfs: don't pass fs_info to describe_relocation()

In describe_relocation() the fs_info is only needed for printing
information via btrfs_info() and can easily be accessed via the passed
in 'struct btrfs_block_group'.

So we can safely remove the fs_info parameter.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c