summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2023-01-13 15:35:37 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:18:33 +0300
commit2990ca29f36171e052ea42d8464ec2e21cf4485a (patch)
treeb3de8aa4a953c7bd8b0130a39142a2e772151184 /kernel
parent6d9be160df486d95cee30ba1f20d0c669db57c2a (diff)
downloadlinux-2990ca29f36171e052ea42d8464ec2e21cf4485a.tar.xz
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions