]> 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>
Tue, 4 Oct 2011 07:38:27 +0000 (18:38 +1100)
commitb579b87ec79899c7dcce7a1a3eb1b420f78e00c0
tree902fdd5fa0c2aeb821a43a5da4af2f30a1a8ab8c
parent16401c80008172c259fb391069778d684a736ac6
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