btrfs: pass a bool size update argument to btrfs_block_rsv_add_bytes()
authorFilipe Manana <fdmanana@suse.com>
Tue, 21 Mar 2023 11:13:38 +0000 (11:13 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:18 +0000 (18:01 +0200)
commit5c1f2c6bca8b51b38f6263ece354e9c74c2627d3
tree8216609c3d13d1555729257e9f69cf19c04cf20d
parent4e0527deb31191b300380c98fb80757eb591f6f1
btrfs: pass a bool size update argument to btrfs_block_rsv_add_bytes()

At btrfs_delayed_refs_rsv_refill(), we are passing a value of 0 to the
'update_size' argument of btrfs_block_rsv_add_bytes(), which is defined
as a boolean. Functionally this is fine because a 0 is, implicitly,
converted to a boolean false value. However it's easier to read an
explicit 'false' value, so just pass 'false' instead of 0.

Reviewed-by: Josef Bacik <josef@toxicpanda.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/delayed-ref.c