From: David Sterba Date: Thu, 11 May 2017 23:02:22 +0000 (+0200) Subject: btrfs: fix bool type in btrfs_page_exists_in_range X-Git-Tag: microblaze-4.14-rc3~376^2~97 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=e03733da5aa68fa2ae3f8d1ab12a570c823a647f;p=linux-2.6-microblaze.git btrfs: fix bool type in btrfs_page_exists_in_range We use only a simple bool indicator, int is not a problem here. Signed-off-by: David Sterba --- diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 97b2bb9d3c89..683ee05798e5 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -7486,7 +7486,7 @@ out: bool btrfs_page_exists_in_range(struct inode *inode, loff_t start, loff_t end) { struct radix_tree_root *root = &inode->i_mapping->page_tree; - int found = false; + bool found = false; void **pagep = NULL; struct page *page = NULL; unsigned long start_idx;