diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2014-08-08 14:22:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 15:57:24 -0700 |
commit | 1b9c53e849aa65776d4f611d99aa09f856518dad (patch) | |
tree | 9271799d0496f0c04096e41d9d98fe750fcf0eb1 /fs | |
parent | 50835e977b69c3278bd5e4264737138346df133f (diff) | |
download | linux-1b9c53e849aa65776d4f611d99aa09f856518dad.tar.bz2 |
lib/rbtree.c: fix typo in comment of __rb_insert()
In case 1, it passes down the BLACK color from G to p and u, and maintains
the color of n. By doing so, it maintains the black height of the
sub-tree.
While in the comment, it marks the color of n to BLACK. This is a typo
and not consistents with the code.
This patch fixs this typo in comment.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Acked-by: Michel Lespinasse <walken@google.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions