]> git.karo-electronics.de Git - karo-tx-linux.git/commit
radix_tree: clean away saw_unset_tag leftovers
authorHugh Dickins <hughd@google.com>
Wed, 28 Sep 2011 00:50:00 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:18 +0000 (14:53 +1000)
commitaf7af2b280c62feda093e0e9f98abc08e41e1f00
tree7b277c31c27977c16e8d41ddb66dd3ca1ec1f5cc
parent0ef03c8a1a80cf270dc531ec6a5d95a4543bf766
radix_tree: clean away saw_unset_tag leftovers

radix_tree_tag_get()'s BUG (when it sees a tag after saw_unset_tag) was
unsafe and removed in 2.6.34, but the pointless saw_unset_tag left behind.

Remove it now, and return 0 as soon as we see unset tag - we already rely
upon the root tag to be correct, returning 0 immediately if it's not set.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <>
lib/radix-tree.c