summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexandru Moise <00moses.alexander00@gmail.com>2015-10-18 23:35:41 +0200
committerDavid Sterba <dsterba@suse.com>2016-01-07 14:29:20 +0100
commit9780c4976f5518f805b32fc00ed045b636fe8fa8 (patch)
tree232a2d5fb2d8a162bc8f4692cc629c3da41851b1 /fs
parentbtrfs: remove unused inode argument from uncompress_inline() (diff)
downloadlinux-9780c4976f5518f805b32fc00ed045b636fe8fa8.tar.xz
linux-9780c4976f5518f805b32fc00ed045b636fe8fa8.zip
btrfs: switch __btrfs_fs_incompat return type from int to bool
Conform to __btrfs_fs_incompat() cast-to-bool (!!) by explicitly returning boolean not int. Signed-off-by: Alexandru Moise <00moses.alexander00@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 35489e7129a7..eddc461fb964 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -4250,7 +4250,7 @@ static inline void __btrfs_set_fs_incompat(struct btrfs_fs_info *fs_info,
#define btrfs_fs_incompat(fs_info, opt) \
__btrfs_fs_incompat((fs_info), BTRFS_FEATURE_INCOMPAT_##opt)
-static inline int __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag)
+static inline bool __btrfs_fs_incompat(struct btrfs_fs_info *fs_info, u64 flag)
{
struct btrfs_super_block *disk_super;
disk_super = fs_info->super_copy;