aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-10-19 12:19:29 +0000
committerDavid Sterba <[email protected]>2023-12-15 19:27:00 +0000
commit6e5de50fc5d71e0a5fe2357c067cea752fe375d7 (patch)
tree613215016d96ee96dbcb02e7efba9640c57d4d64 /fs/btrfs/dev-replace.c
parentbtrfs: remove log_extents_lock and logged_list from struct btrfs_root (diff)
downloadkernel-6e5de50fc5d71e0a5fe2357c067cea752fe375d7.tar.gz
kernel-6e5de50fc5d71e0a5fe2357c067cea752fe375d7.zip
btrfs: use bool for return type of btrfs_block_can_be_shared()
Currently btrfs_block_can_be_shared() returns an int that is used as a boolean. Since it all it needs is to return true or false, and it can't return errors for example, change the return type from int to bool to make it a bit more readable and obvious. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Filipe Manana <[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