]> 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>
Thu, 29 Sep 2011 06:07:59 +0000 (16:07 +1000)
commita1985a95252b3bbdefeac098627d87335d24fb7d
tree9a67fdcaa5ef0a7f471c9aba1c907f06f7876a20
parent84d8717d623a4b4cc55ce5692bbada211f1bbbfb
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