Skip to content
Commit 11b66fa6 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: reduce btrfs_update_block_group alloc argument to bool



btrfs_update_block_group() accounts for the number of bytes allocated or
freed. Argument @alloc specifies whether the call is for alloc or free.
Convert the argument @alloc type from int to bool.

Reviewed-by: default avatarSu Yue <l@damenly.su>
Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent eed2037f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment