]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: consolidate unlink_free_space/__unlink_free_space functions
authorNikolay Borisov <nborisov@suse.com>
Tue, 23 Nov 2021 12:44:20 +0000 (14:44 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:50 +0000 (15:09 +0100)
commit609d85662022647d37fb7d93ac110996f732188f
treee851df7d9f1c9edc6bf2a3a21e59b2ac001b5713
parent3f0aa628bb9202ad2a52000c41d1f719790dacf9
btrfs: consolidate unlink_free_space/__unlink_free_space functions

The only difference between the two is whether btrfs_free_space::bytes
is adjusted. Instead of having 2 separate functions control this
behavior via an additional parameter and make them one function instead.
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