lib-rbtreec-fix-the-example-typo.patch removed from -mm tree
The quilt patch titled
Subject: lib/rbtree.c: fix the example typo
has been removed from the -mm tree. Its filename was
lib-rbtreec-fix-the-example-typo.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Chisheng Chen <[email protected]>
Subject: lib/rbtree.c: fix the example typo
Date: Thu, 3 Apr 2025 19:26:14 +0800
Replace sr with Sr. The condition !tmp1 || rb_is_black(tmp1) ensures that tmp1 (which is sibling->rb_right) is either NULL or a black node. Therefore, the right child of the sibling must be black, and the example should use Sr instead of sr.
---
lib/rbtree.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
lib/rbtree.c renamed from lib/rbtree.c~lib-rbtreec-fix-the-example-typo +4 -4
@@ -297,9 +297,9 @@ ____rb_erase_color(struct rb_node *paren* / \ / \ * N S --> N sl * / \ \ -* sl sr S +* sl Sr S * \ -* sr +* Sr * * Note: p might be red, and then both * p and sl are red after rotation(which
@@ -312,9 +312,9 @@ ____rb_erase_color(struct rb_node *paren* / \ / \ * N sl --> P S * \ / \ -* S N sr +* S N Sr * \ -* sr +* Sr */ tmp1 = tmp2->rb_right;WRITE_ONCE (sibling->rb_left, tmp1);
_
Patches currently in -mm which might be from [email protected] are