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>
This commit is contained in:
David Sterba 2017-05-12 01:02:22 +02:00
parent c9fed2bb61
commit e03733da5a

View File

@ -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;