aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/linux.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2017-01-28 14:56:22 +0000
committerMatthew Wilcox <[email protected]>2017-02-13 21:09:55 +0000
commit0ac398ef391b53122976325ab6953456ce8e8310 (patch)
tree99318e48860947c93bb7a230e66834abd67bef7a /tools/testing/radix-tree/linux.c
parentradix-tree: Add radix_tree_iter_tag_clear() (diff)
downloadkernel-0ac398ef391b53122976325ab6953456ce8e8310.tar.gz
kernel-0ac398ef391b53122976325ab6953456ce8e8310.zip
radix-tree: Add radix_tree_iter_delete
Factor the deletion code out into __radix_tree_delete() and provide a nice iterator-based wrapper around it. If we free the node, advance the iterator to avoid reading from freed memory. Signed-off-by: Matthew Wilcox <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux.c')
0 files changed, 0 insertions, 0 deletions