Max Reitz 84757f7e67 qcow2: Fix snapshot restoration in snapshot_create
If the new snapshot table could not be written in qcow2_snapshot_create,
the old snapshot table has to be restored in memory and the new one
released. This should include restoration of the old snapshot count as
well, which is added by this patch.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-10-11 16:50:00 +02:00
..
2013-10-11 10:52:54 +02:00
2013-10-11 10:52:54 +02:00
2013-10-11 10:52:54 +02:00
2013-10-11 10:52:54 +02:00