• Hans Reiser's avatar
    [PATCH] reiser4: add radix_tree_lookup_slot() · a4331366
    Hans Reiser authored
    Reiser4 uses radix trees to solve a trouble reiser4_readdir has serving nfs
    requests.
    
    Unfortunately, radix tree api lacks an operation suitable for modifying
    existing entry.  This patch adds radix_tree_lookup_slot which returns pointer
    to found item within the tree.  That location can be then updated.
    
    Both Nick and Christoph Lameter have patches which need this as well.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a4331366
radix-tree.c 19.9 KB