commit | 3db3a445308b3cee9bbbd8baa6d05081c9532da0 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Fri Apr 21 13:15:17 2006 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Fri Apr 21 13:15:17 2006 +0100 |
tree | 768e3a190df58b0f5f5d4a5c5ade925649e757dd | |
parent | 7fe1e133bf45b0fe70491ed3d4c5b491feff7aa8 [diff] |
[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: David Woodhouse <dwmw2@infradead.org>