btrfs: use a bool to track qgroup record insertion when adding ref head
authorFilipe Manana <fdmanana@suse.com>
Mon, 29 May 2023 15:17:00 +0000 (16:17 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:31 +0000 (13:59 +0200)
commit293f8197a4902227e39e7288aa06f7f2b0e29cc8
treeda135a9f1941f3d8d4d47238a7bb56ea04441b1a
parent4d34ad34d7cc5390ec03b25f2a7f2fd5041cb7d8
btrfs: use a bool to track qgroup record insertion when adding ref head

We are using an integer as a boolean to track the qgroup record insertion
status when adding a delayed reference head. Since all we need is a
boolean, switch the type from int to bool to make it more obvious.

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/delayed-ref.c