diff options
-rw-r--r-- | drivers/block/drbd/drbd_interval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_interval.c b/drivers/block/drbd/drbd_interval.c index b77a9bda03d4..0d17eaa89a69 100644 --- a/drivers/block/drbd/drbd_interval.c +++ b/drivers/block/drbd/drbd_interval.c | |||
@@ -99,7 +99,7 @@ drbd_contains_interval(struct rb_root *root, sector_t sector, | |||
99 | else if (interval > here) | 99 | else if (interval > here) |
100 | node = node->rb_right; | 100 | node = node->rb_right; |
101 | else | 101 | else |
102 | return interval->sector == sector; | 102 | return true; |
103 | } | 103 | } |
104 | return false; | 104 | return false; |
105 | } | 105 | } |