OSDN Git Service

block/qcow2-bitmap: Don't check size for IN_USE bitmap
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 11 Mar 2019 18:51:45 +0000 (21:51 +0300)
committerJohn Snow <jsnow@redhat.com>
Tue, 12 Mar 2019 18:50:28 +0000 (14:50 -0400)
commitbf5f0cf5d819cce45dd578a19386d8b60022654f
treeb04234c6a399d08908d3632d5c830506907bf85e
parent2fd490c614500fc669386eaf8710cd2d015f548e
block/qcow2-bitmap: Don't check size for IN_USE bitmap

We are going to allow image resize when there are persistent bitmaps.
It may lead to appearing of inconsistent bitmaps (IN_USE=1) with
inconsistent size. But we still want to load them as inconsistent.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190311185147.52309-3-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
block/qcow2-bitmap.c