btrfs: fix bool type in btrfs_page_exists_in_range
David Sterba
maintainerPATCH 1/1 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 <[email protected]>
--- fs/btrfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/btrfs/inode.c +1 -1
@@ -7356,7 +7356,7 @@ noinline int can_nocow_extent(struct inode *inode, u64 offset, u64 *len,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;
Signature · 1 line
2.12.0