aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2021-10-13 06:05:14 +0000
committerDavid Sterba <[email protected]>2021-10-26 17:08:06 +0000
commit11b66fa6eef3ecdcc7ae0e990b54b795a237a6e9 (patch)
treeb1437475a2bffb4ff7ec914d592c8628a245bbec /fs/btrfs/dev-replace.c
parentbtrfs: make btrfs_ref::real_root optional (diff)
downloadkernel-11b66fa6eef3ecdcc7ae0e990b54b795a237a6e9.tar.gz
kernel-11b66fa6eef3ecdcc7ae0e990b54b795a237a6e9.zip
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 <[email protected]> Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions