]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use boolean for delalloc argument to btrfs_free_reserved_extent()
authorFilipe Manana <fdmanana@suse.com>
Wed, 7 May 2025 15:33:45 +0000 (16:33 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:56 +0000 (14:30 +0200)
commit9f6fa5b34492a5ad5f796113061780212744fd5d
tree51d4ea7c525edb8f8d5ce0d29da2b01db247b3d4
parentba4ec9a5a018379825f7c6d97910cae2bd14481a
btrfs: use boolean for delalloc argument to btrfs_free_reserved_extent()

We are using an integer for the 'delalloc' argument but all we need is a
boolean, so switch the type to 'bool' and rename the parameter to
'is_delalloc' to better match the fact that it's a boolean.

Reviewed-by: Boris Burkov <boris@bur.io>
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/direct-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent-tree.h
fs/btrfs/inode.c