Kevin Wolf 9e2a3701a1 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>
2011-06-15 14:36:15 +02:00
..
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:04 +02:00
2010-11-04 12:52:16 +01:00
2010-05-22 08:02:12 +00:00
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:05 +02:00
2011-06-14 17:03:25 +02:00
2011-06-14 17:03:27 +02:00
2010-12-17 16:11:03 +01:00
2011-06-14 10:01:19 +02:00
2011-05-06 08:19:25 +01:00
2011-06-15 14:35:15 +02:00
2011-06-08 10:39:32 +02:00
2011-01-12 19:48:58 +00:00