qcow2: Return real error code in qcow2_read_snapshots
commit42deb29fed92577db57c54e844f852481600b756
authorKevin Wolf <kwolf@redhat.com>
Wed, 16 Nov 2011 10:43:28 +0000 (16 11:43 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Dec 2011 13:51:35 +0000 (5 14:51 +0100)
treebee9778dc0b9c8ce2cae5a9ea9c6effcbd0e5ac7
parenta968168c580cb45a700e0b218c7f6871d91ee257
qcow2: Return real error code in qcow2_read_snapshots

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
block/qcow2-snapshot.c
block/qcow2.c