Skip to content
Snippets Groups Projects
Commit 7e5ca363 authored by Wei Yang's avatar Wei Yang Committed by Linus Torvalds
Browse files

lib/rbtree.c: fix typo in comment of rb_insert_augmented()

parent 7f476715
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@ extern void __rb_insert_augmented(struct rb_node *node,
*
* On insertion, the user must update the augmented information on the path
* leading to the inserted node, then call rb_link_node() as usual and
* rb_augment_inserted() instead of the usual rb_insert_color() call.
* If rb_augment_inserted() rebalances the rbtree, it will callback into
* rb_insert_augmented() instead of the usual rb_insert_color() call.
* If rb_insert_augmented() rebalances the rbtree, it will callback into
* a user provided function to update the augmented information on the
* affected subtrees.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment