]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-refcount.c
qcow2: Return right error code in write_refcount_block_entries
authorKevin Wolf <kwolf@redhat.com>
Fri, 28 May 2010 07:47:44 +0000 (09:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 May 2010 11:29:13 +0000 (13:29 +0200)
commited0df867d93341289d085ed9e9d44907e342c7ff
treef661840d721c3f87b282badf41b5dc0f38ed383a
parent55c17e9821c474d5fcdebdc82ed2fc096777d611
qcow2: Return right error code in write_refcount_block_entries

write_refcount_block_entries used to return -EIO for any errors. Change this to
return the real error code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c