]> git.hungrycats.org Git - linux/commit
btrfs: remove redundant space_info assignment in btrfs_add_bg_to_space_info()
authorFilipe Manana <fdmanana@suse.com>
Fri, 23 Oct 2026 09:16:54 +0000 (10:16 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Oct 2026 20:36:18 +0000 (21:36 +0100)
commit32c8bbf74f8a59d379219318e9b41e9142e5f3e3
tree4a2ed511d51e769d65662f1fd4d8efd903b7e9b7
parentc30cb84dde072bbd9543008d5e207e3895996ba0
btrfs: remove redundant space_info assignment in btrfs_add_bg_to_space_info()

There's no point in setting the block group's space_info member as the
space_info was extracted from the block group early when the variable was
declared and did not change.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c