]> git.proxmox.com Git - mirror_qemu.git/commit
block: Remove bdrv_reset_dirty
authorFam Zheng <famz@redhat.com>
Mon, 8 Jun 2015 05:56:11 +0000 (13:56 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 2 Jul 2015 09:06:23 +0000 (10:06 +0100)
commit6e82e4bce127654b2dd42ef393587775be792334
tree89a712779cde82d3902226938fc626536bc7b02e
parent508249952c0ea7472c62e17bf8132295dab4912d
block: Remove bdrv_reset_dirty

Using this function would always be wrong because a dirty bitmap must
have a specific owner that consumes the dirty bits and calls
bdrv_reset_dirty_bitmap().

Remove the unused function to avoid future misuse.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
include/block/block_int.h