[PATCH] rbtree: support functions used by the io schedulers
authorJens Axboe <axboe@suse.de>
Wed, 21 Jun 2006 07:36:18 +0000 (09:36 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 23 Jun 2006 15:10:39 +0000 (17:10 +0200)
commitdd67d051529387f6e44d22d1d5540ef281965fdd
tree80457f9a2ad3e562b179e40f5c8d51b4f24d6d9e
parent9e94cd4fd1812bab45237f998b3c6fa1b24023fd
[PATCH] rbtree: support functions used by the io schedulers

They all duplicate macros to check for empty root and/or node, and
clearing a node. So put those in rbtree.h.

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