projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9fed2b
)
btrfs: fix bool type in btrfs_page_exists_in_range
author
David Sterba
<dsterba@suse.com>
Thu, 11 May 2017 23:02:22 +0000
(
01:02
+0200)
committer
David Sterba
<dsterba@suse.com>
Mon, 19 Jun 2017 16:25:59 +0000
(18:25 +0200)
We use only a simple bool indicator, int is not a problem here.
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index 97b2bb9d3c89246fffeec5c108db7b176b101a78..683ee05798e566a5903fde2c042021adff3b9e89 100644
(file)
--- 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;