radix-tree: rewrite gang lookup using iterator
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 28 Mar 2012 21:42:53 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Mar 2012 00:14:37 +0000 (17:14 -0700)
commitcebbd29e1c2f7a969919f19f74583070840163d7
treef9ec01b2cb5c3affe64587b83d4877429f0edc0c
parent78c1d78488a3c45685d993130c9f17102dc79a54
radix-tree: rewrite gang lookup using iterator

Rewrite radix_tree_gang_lookup_* functions using the new radix-tree
iterator.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Tested-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/radix-tree.c