qcow2: Return 0/-errno in write_l1_entry
authorKevin Wolf <kwolf@redhat.com>
Tue, 23 Mar 2010 16:28:22 +0000 (17:28 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Apr 2010 14:08:46 +0000 (16:08 +0200)
commitf7defcb62792eff05fa8a7ffec6a927a88087b83
treec595fe71fa7e6bf22cf9eef056f094b2552c8877
parentc835d00fc8d6c23af7e9182981ef7a07f1c6d12c
qcow2: Return 0/-errno in write_l1_entry

Change write_l1_entry to return the real error code instead of -1.

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