]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: change return type to bool in btrfs_extent_readonly
authorAnand Jain <anand.jain@oracle.com>
Thu, 11 Feb 2021 05:25:16 +0000 (21:25 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Apr 2021 13:35:52 +0000 (15:35 +0200)
commit99f6f1983c05a0ba658ce0528fc2ba585014bd27
treed938ace087208cdedfcb9d2f8d7a450306835e60
parente28fe39654eebd574aae2865d745ab9be25c1d7c
btrfs: change return type to bool in btrfs_extent_readonly

btrfs_extent_readonly() checks if the block group is readonly, the bool
return type should be used.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c