Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/linux...
[linux-block.git] / lib / rbtree.c
index c4ac5c2421f255c4c60954c45ee567f77403cffc..5114eda6309c9d867a3e1ed9358bf9b3b275eb71 100644 (file)
@@ -58,7 +58,7 @@
 
 static inline void rb_set_black(struct rb_node *rb)
 {
-       rb->__rb_parent_color |= RB_BLACK;
+       rb->__rb_parent_color += RB_BLACK;
 }
 
 static inline struct rb_node *rb_red_parent(struct rb_node *red)