]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: change name and type of private member of btrfs_free_space_ctl
authorNikolay Borisov <nborisov@suse.com>
Tue, 23 Nov 2021 12:44:22 +0000 (14:44 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:50 +0000 (15:09 +0100)
commitae019af423ef11c342b371232a42cba6f11868ec
tree585aa5a51d0e821d365b0d0524573770ae340243
parent3175f4f83fb94af5fd28a4e8a449bd2cdaa1d65e
btrfs: change name and type of private member of btrfs_free_space_ctl

btrfs_free_space_ctl::private is either unset or it always points to
struct btrfs_block_group when it is set. So there's no point in keeping
the unhelpful 'private' name and keeping it an untyped pointer. Change
both the type and name to be self-describing. 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