]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove fs_info argument from btrfs_can_overcommit()
authorFilipe Manana <fdmanana@suse.com>
Mon, 13 Oct 2025 16:44:34 +0000 (17:44 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 20:59:10 +0000 (21:59 +0100)
commit78a77f4da4ba2162ab7f82246ff0eef0236cfe36
tree669194f32a37b48422d0960656d887701deaad73
parent302b4b69c4eeb7be755ef8a712350c8aa5d6f072
btrfs: remove fs_info argument from btrfs_can_overcommit()

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

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <asj@kernel.org>
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/block-group.c
fs/btrfs/space-info.c
fs/btrfs/space-info.h