]> Git Repo - qemu.git/commit
qcow2: Improve error handling in update_refcount
authorKevin Wolf <[email protected]>
Wed, 20 Jan 2010 14:03:04 +0000 (15:03 +0100)
committerAnthony Liguori <[email protected]>
Tue, 26 Jan 2010 20:59:19 +0000 (14:59 -0600)
commit09508d13f3874d07bf25f8dd9f5303cbd8139d1b
tree5ff5fa695dc03315235f225a91e74ffdbe3aa451
parentf2b7c8b37045e0e030ef027cfb6d574558fb732a
qcow2: Improve error handling in update_refcount

If update_refcount fails, try to undo any changes made so far to avoid
inconsistencies in the image file.

Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
block/qcow2-refcount.c
This page took 0.020808 seconds and 4 git commands to generate.