]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: assign booleans to global reserve's full field
authorFilipe Manana <fdmanana@suse.com>
Fri, 17 Oct 2025 16:30:38 +0000 (17:30 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:12:07 +0000 (22:12 +0100)
commit5ca7725ddfc5b7a1e5b87ba3cb489b3cd052faab
treefe0203fe82db33ada84ab1918ba2b9ec6fce14a7
parentf18a203a1b316f4cb2a2bd38ed79fc9182a1ddab
btrfs: assign booleans to global reserve's full field

We have a couple places that are assigning 0 and 1 to the full field of
the global reserve. This is harmless since 0 is converted to false and
1 converted to true, but for better readability, replace these with true
and false since the field is of type bool.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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/space-info.c