diff options
author | David Sterba <dsterba@suse.com> | 2017-05-12 01:02:22 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-19 18:25:59 +0200 |
commit | e03733da5aa68fa2ae3f8d1ab12a570c823a647f (patch) | |
tree | 932c53b666182e09f7e8f66d7dce082deddf8ac8 /fs/btrfs/inode.c | |
parent | c9fed2bb61c4050ff01c4337e880a546fde5677d (diff) | |
download | lwn-e03733da5aa68fa2ae3f8d1ab12a570c823a647f.tar.gz lwn-e03733da5aa68fa2ae3f8d1ab12a570c823a647f.zip |
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/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |