]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: block-group: Rework documentation of check_system_chunk function
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Tue, 8 Oct 2019 00:50:38 +0000 (21:50 -0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:54 +0000 (12:46 +0100)
commit5748b23aa6bfd69018299849007bf157fd51632c
tree6dc28d3a3edd91265f356fb7c539bc0e43400e47
parent719a8fa69acd30708283b785ad92d1bc3a678cc8
btrfs: block-group: Rework documentation of check_system_chunk function

Commit ccd163f6e1bb (" Btrfs: fix necessary chunk tree space calculation
when allocating a chunk") removed the is_allocation argument from
check_system_chunk, since the formula for reserving the necessary space
for allocation or removing a chunk would be the same.

So, rework the comment by removing the mention of is_allocation
argument.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c