diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2018-10-30 23:05:42 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 16:54:13 +0100 |
commit | 7e5ca363a5a1ec42c54dc1e0644b361a2daf984c (patch) | |
tree | 643b81b36e83eb0e2eeb3efd6b14a387978fd9a4 | |
parent | lib/sg_pool.c: remove unnecessary null check when freeing object (diff) | |
download | linux-7e5ca363a5a1ec42c54dc1e0644b361a2daf984c.tar.xz linux-7e5ca363a5a1ec42c54dc1e0644b361a2daf984c.zip |
lib/rbtree.c: fix typo in comment of rb_insert_augmented()
The function name in the comment is not correct.
Link: http://lkml.kernel.org/r/20181010021344.60433-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/rbtree_augmented.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rbtree_augmented.h b/include/linux/rbtree_augmented.h index af8a61be2d8d..9510c677ac70 100644 --- a/include/linux/rbtree_augmented.h +++ b/include/linux/rbtree_augmented.h @@ -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. */ |