aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-05-12 01:02:22 +0200
committerDavid Sterba <dsterba@suse.com>2017-05-16 20:18:18 +0200
commitdf59ca8551d944fbd5edb4296f36925179138b46 (patch)
tree86e5ca4a6cfb7a806ba665e6113bb1f5fc242a03 /fs
parenta351e9b9fc24e982ec2f0e76379a49826036da12 (diff)
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 <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 5e71f1ea3391..85591d3f3ad9 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -7356,7 +7356,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;
int start_idx;