summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-12-09 14:23:52 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-01-18 21:41:23 -0900
commit30e75a649b836eb76f1d00c05ceb8c1c4e9350d5 (patch)
tree589cd7d8caa6fe6de46be1a1623926f2a3ddda34
parent7d3ad6b35df773f33510f45847beac7b3161018b (diff)
bcachefs: fix find_get_entry() usage
-rw-r--r--drivers/md/bcache/fs-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/fs-io.c b/drivers/md/bcache/fs-io.c
index a76f519082ec..942baeb1235d 100644
--- a/drivers/md/bcache/fs-io.c
+++ b/drivers/md/bcache/fs-io.c
@@ -2373,7 +2373,7 @@ static bool page_slot_is_data(struct address_space *mapping, pgoff_t index)
bool ret;
page = find_lock_entry(mapping, index);
- if (!page)
+ if (!page || radix_tree_exception(page))
return false;
ret = page_is_data(page);