]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: use saner variable type and name to indicate extrefs at add_inode_ref()
authorFilipe Manana <fdmanana@suse.com>
Fri, 11 Jul 2025 19:59:36 +0000 (20:59 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 23:14:07 +0000 (01:14 +0200)
commit3a074cc659ef857d727d879d86cd96e934a6f6df
treef6c11c701986f6d3ba6aab2d84f51c1fe8ab37c3
parent24e066ded45b8147b79c7455ac43a5bff7b5f378
btrfs: use saner variable type and name to indicate extrefs at add_inode_ref()

We are using a variable named 'log_ref_ver' of type int to indicate if we
are processing an extref item or not, using a value of 1 if so, otherwise
0. This is an odd name and type, so rename it to 'is_extref_item' and
change its type to bool.

Reviewed-by: Boris Burkov <boris@bur.io>
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/tree-log.c