]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/radix-tree.c
[PATCH] csa: basic accounting over taskstats
[linux-2.6-omap-h63xx.git] / lib / radix-tree.c
index b32efae7688e316e8825df6fd76a316a2c6f18bf..637d55608de55b463974afeb62eb704977426bbc 100644 (file)
@@ -530,7 +530,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,
                        int ret = tag_get(slot, tag, offset);
 
                        BUG_ON(ret && saw_unset_tag);
-                       return ret;
+                       return !!ret;
                }
                slot = slot->slots[offset];
                shift -= RADIX_TREE_MAP_SHIFT;