]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92181868b3ebbde0f58c63ed3d9bec0ca2f0074e
tree49a73573201cdc6ad9957177f3dc26fc85473721
parent2fe7aa3bab2210aca5eaaf120e2e258b99bc49e9
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