Files
xemu/block
Kevin Wolf d1ea98d56d qcow2: Rework qcow2_snapshot_create error handling
Increase refcounts only after allocating a new L1 table has succeeded in
order to make leaks less likely. If writing the snapshot table fails,
revert in-memory state to be consistent with that on disk.

While at it, make it return the real error codes instead of -1.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2011-12-05 14:51:36 +01:00
..
2011-10-28 19:25:48 +02:00
2011-11-21 14:58:48 -06:00
2011-11-21 14:58:48 -06:00
2011-11-23 17:04:05 +01:00
2011-11-23 17:04:03 +01:00
2011-11-23 17:04:05 +01:00