btrfs: use booleans where appropriate for the tree mod log functions
authorFilipe Manana <fdmanana@suse.com>
Thu, 11 Mar 2021 14:31:08 +0000 (14:31 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:16 +0000 (17:25 +0200)
commit406808ab2f0ba3dfb01ca591f55173af8f8d2c66
tree49a73573201cdc6ad9957177f3dc26fc85473721
parentf3a84ccd28d0b04da0358cf1289706f3469ff9ad
btrfs: use booleans where appropriate for the tree mod log functions

Several functions of the tree modification log use integers as booleans,
so change them to use booleans instead, making their use more clear.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
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/ctree.c
fs/btrfs/tree-mod-log.c
fs/btrfs/tree-mod-log.h