Skip to content
Commit 3db3a445 authored by David Woodhouse's avatar David Woodhouse
Browse files

[RBTREE] Change rbtree off-tree marking in I/O schedulers.



They were abusing the rb_color field to mark nodes which weren't currently
on the tree. Fix that to use the same method as eventpoll did -- setting
the parent pointer to point back to itself. And use the appropriate
accessor macros for setting and reading the parent.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 7fe1e133
Loading
Loading
Loading
Loading
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