Skip to content
Commit 0ac398ef authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <mawilcox@microsoft.com>
parent 30b888ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment