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)
commit050041d95c155515eab3544c43f7d641599beb23
treef661840d721c3f87b282badf41b5dc0f38ed383a
parente7c6c76f5271b2ca03d2c3a0468fd566f593d9c8
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