]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
btrfs: update outdated comment in __add_block_group_free_space()
authorJulia Lawall <Julia.Lawall@inria.fr>
Tue, 30 Dec 2025 16:32:45 +0000 (17:32 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:51:42 +0000 (07:51 +0100)
The function add_block_group_free_space() was renamed
btrfs_add_block_group_free_space() by commit 6fc5ef782988 ("btrfs:
add btrfs prefix to free space tree exported functions").  Update
the comment accordingly.

Do some reorganization of the next few lines to keep the comment
within 80 characters.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c

index 776b6467dfada53e75f3f8052211b08924ba9c25..ac092898130fa1659cba177ac92c53f3bcf8d7e1 100644 (file)
@@ -1396,9 +1396,9 @@ static int __add_block_group_free_space(struct btrfs_trans_handle *trans,
         * can use multiple transactions, every time btrfs_end_transaction() is
         * called at btrfs_rebuild_free_space_tree() we finish the creation of
         * new block groups by calling btrfs_create_pending_block_groups(), and
-        * that in turn calls us, through add_block_group_free_space(), to add
-        * a free space info item and a free space extent item for the block
-        * group.
+        * that in turn calls us, through btrfs_add_block_group_free_space(),
+        * to add a free space info item and a free space extent item for the
+        * block group.
         *
         * Then later btrfs_rebuild_free_space_tree() may find such new block
         * groups and processes them with populate_free_space_tree(), which can