]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: send: only use boolean variables at process_recorded_refs()
authorFilipe Manana <fdmanana@suse.com>
Tue, 19 Aug 2025 02:40:15 +0000 (22:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:41 +0000 (16:28 +0200)
commitbfed58ed10f12ad68869305a6a08d099b3eeaf44
tree26d57e297ba1ddc152f7c0b186fca9523325c6f1
parent253557254f8d6c3506836f8988fa10b34d2d10b8
btrfs: send: only use boolean variables at process_recorded_refs()

[ Upstream commit 9453fe329789073d9a971de01da5902c32c1a01a ]

We have several local variables at process_recorded_refs() that are used
as booleans, with some of them having a 'bool' type while two of them
having an 'int' type. Change this to make them all use the 'bool' type
which is more clear and to make everything more consistent.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Stable-dep-of: 005b0a0c24e1 ("btrfs: send: use fallocate for hole punching with send stream v2")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/send.c