summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_interval.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-01-21 18:00:55 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-08-29 11:26:50 +0200
commitbc9c5c41181a84ad243639c79a10f621a97af44b (patch)
treeb4caa79173624199cae5ec5c6f6dbc7385dfbe10 /drivers/block/drbd/drbd_interval.h
parentdac1389ccc273b5486f2931c64c8e1672f233727 (diff)
downloadop-kernel-dev-bc9c5c41181a84ad243639c79a10f621a97af44b.zip
op-kernel-dev-bc9c5c41181a84ad243639c79a10f621a97af44b.tar.gz
drbd: Use the read and write request trees for request lookups
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_interval.h')
-rw-r--r--drivers/block/drbd/drbd_interval.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_interval.h b/drivers/block/drbd/drbd_interval.h
index bf8dcf7..a847b4a 100644
--- a/drivers/block/drbd/drbd_interval.h
+++ b/drivers/block/drbd/drbd_interval.h
@@ -22,8 +22,7 @@ static inline bool drbd_interval_empty(struct drbd_interval *i)
}
bool drbd_insert_interval(struct rb_root *, struct drbd_interval *);
-struct drbd_interval *drbd_find_interval(struct rb_root *, sector_t,
- struct drbd_interval *);
+bool drbd_contains_interval(struct rb_root *, sector_t, struct drbd_interval *);
void drbd_remove_interval(struct rb_root *, struct drbd_interval *);
struct drbd_interval *drbd_find_overlap(struct rb_root *, sector_t,
unsigned int);
OpenPOWER on IntegriCloud