diff options
author | Fam Zheng <famz@redhat.com> | 2016-10-13 17:58:26 -0400 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-10-24 17:56:07 +0200 |
commit | 7105007a5c8ae6228d78487e1e382d53863ab2c9 (patch) | |
tree | 6f4c902aa5ed27f0e78c4ffeeb4502697c9f275e /include/qemu/hbitmap.h | |
parent | 15891fac7dd0300f94cca081cfef51b074cb988b (diff) | |
download | qemu-7105007a5c8ae6228d78487e1e382d53863ab2c9.zip qemu-7105007a5c8ae6228d78487e1e382d53863ab2c9.tar.gz qemu-7105007a5c8ae6228d78487e1e382d53863ab2c9.tar.bz2 |
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 <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1476395910-8697-7-git-send-email-jsnow@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/qemu/hbitmap.h')
0 files changed, 0 insertions, 0 deletions