]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove fs_info argument from btrfs_sysfs_add_space_info_type()
authorFilipe Manana <fdmanana@suse.com>
Tue, 14 Oct 2025 18:18:17 +0000 (19:18 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:02:30 +0000 (22:02 +0100)
commit771af6ff72e0ed0eb8bf97e5ae4fa5094e0c5d1d
tree094f2581d914d94350bd5a5c5c5ff1eb6f2536d6
parent7fc35cc559cb64221a7fb1d2cf48cda8fd31fc9e
btrfs: remove fs_info argument from btrfs_sysfs_add_space_info_type()

We don't need it since we can grab fs_info from the given space_info.
So remove the fs_info argument.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h