]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: add btrfs prefix to free space tree exported functions
authorFilipe Manana <fdmanana@suse.com>
Wed, 11 Jun 2025 16:05:12 +0000 (17:05 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:58:02 +0000 (23:58 +0200)
commit6fc5ef7829887c5a07c733013c6158ec47aa24f9
treec58a35fb974b0e31a5d7ad609872073fc835c818
parent8bfa3727ea6b852d6e23273cdc8f05f578bc119e
btrfs: add btrfs prefix to free space tree exported functions

A few of the free space tree exported functions have a 'btrfs_' prefix in
their name, but most don't. Not only is this inconsistent, the preferred
style is to have such a prefix, to avoid potential collisions in the
future with other kernel code and offer a somewhat better readibility by
making it obvious in calls sites that we are calling btrfs specific code.

So add the 'btrfs_' prefix to all free space tree functions that are
missing it.

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/block-group.c
fs/btrfs/extent-tree.c
fs/btrfs/free-space-tree.c
fs/btrfs/free-space-tree.h
fs/btrfs/tests/free-space-tree-tests.c