]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: pass a bool to btrfs_block_rsv_migrate() at evict_refill_and_join()
authorFilipe Manana <fdmanana@suse.com>
Tue, 21 Mar 2023 11:13:37 +0000 (11:13 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:18 +0000 (18:01 +0200)
commit4e0527deb31191b300380c98fb80757eb591f6f1
treec5b8e94a8a6334099a981363a9c310858b33c3f1
parent318eee0328b76394356f0194e2db29eddcb86a06
btrfs: pass a bool to btrfs_block_rsv_migrate() at evict_refill_and_join()

The last argument of btrfs_block_rsv_migrate() is a boolean, but we are
passing an integer, with a value of 1, to it at evict_refill_and_join().
While this is not a bug, due to type conversion, it's a lot more clear to
simply pass the boolean true value instead. So just do that.

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/inode.c