]> git.proxmox.com Git - mirror_qemu.git/commit
block: Fix error path in bdrv_invalidate_cache()
authorKevin Wolf <kwolf@redhat.com>
Wed, 16 Dec 2015 15:05:21 +0000 (16:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2016 12:36:23 +0000 (13:36 +0100)
commit23c88b24721ee907639705bf9de03dcd6b1e66ad
tree8a5b9ce1e2e1532f589288b231935e772363cb48
parent09e0c771e47e02278c264bafff6bfc0771732d72
block: Fix error path in bdrv_invalidate_cache()

We can only clear BDRV_O_INCOMING if the caches were actually
invalidated.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c