axmap: ensure that overlaps are handled strictly sequential
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Jul 2018 22:52:16 +0000 (16:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Jul 2018 22:52:16 +0000 (16:52 -0600)
commit8cd5a2fdad69fcc7acc85863b69cc9ded97edceb
tree5a80999350bf023e8e48b75666185cb774130cef
parent9a5950bf9c0af2ed5b0ac8b8a03814f23760e6f6
axmap: ensure that overlaps are handled strictly sequential

We must terminate at the first overlapping bit, we can't
just mask off non-sequential ranges.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/axmap.c