diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-09-27 15:23:54 +0300 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2019-10-17 17:53:28 -0400 |
commit | f6333cbf8bc78c5fed3311c893597ad8d65be235 (patch) | |
tree | fef5be8679784ea4e96ea98a00b9fef111750d4a /tests/test-io-channel-file.c | |
parent | 5d9388d4b23a5302acb53052add07514285b2976 (diff) |
block/qcow2-bitmap: fix and improve qcow2_reopen_bitmaps_rw
- Correct check for write access to file child, and in correct place
(only if we want to write).
- Support reopen rw -> rw (which will be used in following commit),
for example, !bdrv_dirty_bitmap_readonly() is not a corruption if
bitmap is marked IN_USE in the image.
- Consider unexpected bitmap as a corruption and check other
combinations of in-image and in-RAM bitmaps.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190927122355.7344-9-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/test-io-channel-file.c')
0 files changed, 0 insertions, 0 deletions