]> git.proxmox.com Git - qemu.git/commit
block: Fix early failure in multiwrite
authorKevin Wolf <kwolf@redhat.com>
Wed, 14 Jul 2010 10:42:02 +0000 (12:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Jul 2010 11:09:24 +0000 (13:09 +0200)
commit191d44fc4361932c3ae647eee343e150fb8b6e34
tree7e87221ffff369400b666e99ba18020c7841f47e
parenta2f0cbaa5808e4071fbde6903bdfa0971e918f7e
block: Fix early failure in multiwrite

bdrv_aio_writev may call the callback immediately (and it will commonly do so
in error cases). Current code doesn't consider this. For details see the
comment added by this patch.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 453f9a1652629e5805995b165be2e634c8487139)

Conflicts:

block.c

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