drbd: Iterate over all overlapping intervals in a tree
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 17 Feb 2011 17:11:24 +0000 (18:11 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:47:37 +0000 (16:47 +0200)
commitd0e22a260c5142171c730436664febb045b9f0f0
treeaa8180451e2d741aad17760542fb6866e2c00e95
parentfcefa62e4c26e70c70b9e8252a4bc9b9031a4182
drbd: Iterate over all overlapping intervals in a tree

Add a macro and helper function for doing that.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_interval.c
drivers/block/drbd/drbd_interval.h