Lars Ellenberg 2990ca29f3 drbd: interval tree: make removing an "empty" interval a no-op
Trying to remove an "empty" (just initialized, or "cleared") interval
from the tree, this results in an endless loop.

As we typically protect the tree with a spinlock_irq,
the result is a hung system.

Be nice to error cleanup code paths, ignore removal of empty intervals.

Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20230113123538.144276-8-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-01-29 15:18:33 -07:00
..
2023-01-29 15:18:33 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2023-01-29 15:18:33 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2023-01-29 15:18:33 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2022-11-22 19:38:39 -07:00
2022-12-01 11:33:49 -07:00
2022-11-22 19:38:39 -07:00