[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>
This commit is contained in:
Jens Axboe 2006-06-21 09:36:18 +02:00 committed by Jens Axboe
commit dd67d05152
4 changed files with 24 additions and 32 deletions