aboutsummaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/radix-tree.c')
-rw-r--r--lib/radix-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index b32efae7688e..637d55608de5 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -530,7 +530,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,
530 int ret = tag_get(slot, tag, offset); 530 int ret = tag_get(slot, tag, offset);
531 531
532 BUG_ON(ret && saw_unset_tag); 532 BUG_ON(ret && saw_unset_tag);
533 return ret; 533 return !!ret;
534 } 534 }
535 slot = slot->slots[offset]; 535 slot = slot->slots[offset];
536 shift -= RADIX_TREE_MAP_SHIFT; 536 shift -= RADIX_TREE_MAP_SHIFT;