aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-10-19 13:19:29 +0100
committerDavid Sterba <dsterba@suse.com>2023-12-15 20:27:00 +0100
commit6e5de50fc5d71e0a5fe2357c067cea752fe375d7 (patch)
tree613215016d96ee96dbcb02e7efba9640c57d4d64 /fs/btrfs/delayed-inode.c
parentbtrfs: remove log_extents_lock and logged_list from struct btrfs_root (diff)
downloadwireguard-linux-6e5de50fc5d71e0a5fe2357c067cea752fe375d7.tar.xz
wireguard-linux-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 <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions