]> git.baikalelectronics.ru Git - kernel.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>
Mon, 19 Apr 2021 15:25:14 +0000 (17:25 +0200)
commitc8d7af6225374be2ab6dff6dcc4dc87faaa462fd
tree80c9740d5ed9ff52c6ac9ccef682fa980a21c696
parentc500569d5c5f427fdfa41bcdc646cb3acb4240e6
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