]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 13:35:55 +0000 (15:35 +0200)
commitb6491e402032b30b22c4d71766383715557c3d3c
treee0f90e677086f368c10a551ab4d9bc86287714d0
parentb2acd12b4f9761398ae8bfcc6bdb26c632761c4e
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