aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-05-17 17:41:16 +0200
committerDavid Sterba <dsterba@suse.com>2017-05-17 17:41:16 +0200
commit51f28b891949806036828bf58eaa5bfe326242d7 (patch)
tree4c4d0d9ff8bf3254f50f6ac09e4eb5f995dac1a7 /fs
parent8832082e4fb1c33f882e8bb0196e813c977604d9 (diff)
parent19be054e45f2af629f7f2ea462f65e0d7a26cc86 (diff)
Merge branch 'fix/page-exists-types' into for-next-next-v4.13-20170517
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index b46ff02df0f2..8c37b4fa4cbb 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -7486,11 +7486,11 @@ 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;
- int end_idx;
+ unsigned long start_idx;
+ unsigned long end_idx;
start_idx = start >> PAGE_SHIFT;