summaryrefslogtreecommitdiffstats
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorKevin Wolf2011-05-24 16:40:02 +0200
committerKevin Wolf2011-06-15 14:36:15 +0200
commit9e2a3701a1fcfec0316b9dc1a6cd62869de5542c (patch)
tree64b22b9f494e444f705dae7dd355060036b11c95 /hw/ide/internal.h
parentReplaced tabs with spaces in block.h and block_int.h (diff)
downloadqemu-9e2a3701a1fcfec0316b9dc1a6cd62869de5542c.tar.gz
qemu-9e2a3701a1fcfec0316b9dc1a6cd62869de5542c.tar.xz
qemu-9e2a3701a1fcfec0316b9dc1a6cd62869de5542c.zip
qcow2: Fix in-flight list after qcow2_cache_put failure
If qcow2_cache_put returns an error during cluster allocation and the allocation fails, it must be removed from the list of in-flight allocations. Otherwise we'd get a loop in the list when the ACB is used for the next allocation. Luckily, this qcow2_cache_put shouldn't fail anyway because the L2 table is only read, so that qcow2_cache_put doesn't even involve I/O. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'hw/ide/internal.h')
0 files changed, 0 insertions, 0 deletions