]> git.ipfire.org Git - thirdparty/qemu.git/commit
blockdev: fix bitmap clear undo
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Mar 2017 21:28:11 +0000 (17:28 -0400)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Mar 2017 11:54:06 +0000 (12:54 +0100)
commit184dd9c49b522fe729cfe21d119f6db241268a50
treea648717342901310c510e6971e644ed5af4fe0bf
parentc1cef67251d3e6ae275c0898ccf4cbcfe85d4e0b
blockdev: fix bitmap clear undo

Only undo the action if we actually prepared the action.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c