]> Git Repo - qemu.git/commit
block: Assert that bdrv_release_dirty_bitmap succeeded
authorFam Zheng <[email protected]>
Thu, 13 Oct 2016 21:58:26 +0000 (17:58 -0400)
committerMax Reitz <[email protected]>
Mon, 24 Oct 2016 15:56:07 +0000 (17:56 +0200)
commit7105007a5c8ae6228d78487e1e382d53863ab2c9
tree6f4c902aa5ed27f0e78c4ffeeb4502697c9f275e
parent15891fac7dd0300f94cca081cfef51b074cb988b
block: Assert that bdrv_release_dirty_bitmap succeeded

We use a loop over bs->dirty_bitmaps to make sure the caller is
only releasing a bitmap owned by bs. Let's also assert that in this case
the caller is releasing a bitmap that does exist.

Signed-off-by: Fam Zheng <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: John Snow <[email protected]>
Message-id: 1476395910[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/dirty-bitmap.c
This page took 0.025492 seconds and 4 git commands to generate.