block/reqlist: reqlist_find_conflict(): use ranges_overlap()
commit84b1e80f67f74a9d505802343458d4ebe8bdb3e4
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 3 Mar 2022 19:43:40 +0000 (3 20:43 +0100)
committerHanna Reitz <hreitz@redhat.com>
Mon, 7 Mar 2022 08:33:30 +0000 (7 09:33 +0100)
treeaa4b15a666d7a4a9b8b615a40763c1132c1d030d
parentd088e6a48aa437b2bf706a5f6cc4967f0eceba64
block/reqlist: reqlist_find_conflict(): use ranges_overlap()

Let's reuse convenient helper.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220303194349.2304213-8-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/reqlist.c