commit | 11b66fa6eef3ecdcc7ae0e990b54b795a237a6e9 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Wed Oct 13 14:05:14 2021 +0800 |
committer | David Sterba <dsterba@suse.com> | Tue Oct 26 19:08:06 2021 +0200 |
tree | b1437475a2bffb4ff7ec914d592c8628a245bbec | |
parent | eed2037fc56263fe218548f523c77e7ae3f94a7c [diff] |
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: Su Yue <l@damenly.su> Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>