Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

btrfs: update outdated comment in __add_block_group_free_space()

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>

authored by

Julia Lawall and committed by
David Sterba
d6f6109f d1a020a8

+3 -3
+3 -3
fs/btrfs/free-space-tree.c
··· 1396 1396 * can use multiple transactions, every time btrfs_end_transaction() is 1397 1397 * called at btrfs_rebuild_free_space_tree() we finish the creation of 1398 1398 * new block groups by calling btrfs_create_pending_block_groups(), and 1399 - * that in turn calls us, through add_block_group_free_space(), to add 1400 - * a free space info item and a free space extent item for the block 1401 - * group. 1399 + * that in turn calls us, through btrfs_add_block_group_free_space(), 1400 + * to add a free space info item and a free space extent item for the 1401 + * block group. 1402 1402 * 1403 1403 * Then later btrfs_rebuild_free_space_tree() may find such new block 1404 1404 * groups and processes them with populate_free_space_tree(), which can