]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] rbtree: fixed reversed RB_EMPTY_NODE and rb_next/prev
authorJens Axboe <axboe@suse.de>
Tue, 11 Jul 2006 19:15:52 +0000 (21:15 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:26:56 +0000 (20:26 +0200)
commit10fd48f2376db52f08bf0420d2c4f580e39269e1
tree89de18dcda9c8a09937187a0e8d138cfe3cb4089
parent9817064b68fef7e4580c6df1ea597e106b9ff88b
[PATCH] rbtree: fixed reversed RB_EMPTY_NODE and rb_next/prev

The conditions got reserved. Also make rb_next() and rb_prev() check
for the empty condition.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/as-iosched.c
include/linux/rbtree.h
lib/rbtree.c