]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make __btrfs_add_free_space take just block group reference
authorNikolay Borisov <nborisov@suse.com>
Tue, 23 Nov 2021 12:44:21 +0000 (14:44 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:50 +0000 (15:09 +0100)
commit3175f4f83fb94af5fd28a4e8a449bd2cdaa1d65e
tree08dfb791e483f600cf84bc777bf7b5e333f592a6
parent609d85662022647d37fb7d93ac110996f732188f
btrfs: make __btrfs_add_free_space take just block group reference

There is no point in the function taking an fs_info and a
btrfs_free_space because the ctl passed always belongs to the block
group. Furthermore fs_info can be referenced from the block group. No
functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.h