]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: change dump_block_groups() in btrfs_dump_space_info() from int to bool
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 30 Jun 2025 14:47:35 +0000 (16:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:58:05 +0000 (23:58 +0200)
commit9669fcb77eae2c03a030d99b0cc22b1d25a30f7c
tree8301a1e3420f9fec37a6c4c7a825985d8512a981
parentab5fcbb1adc8e44ed027b0a73f484fbc8d528b94
btrfs: change dump_block_groups() in btrfs_dump_space_info() from int to bool

btrfs_dump_space_info()'s parameter dump_block_groups is used as a boolean
although it is defined as an integer.

Change it from int to bool.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Daniel Vacek <neelx@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c
fs/btrfs/space-info.c
fs/btrfs/space-info.h