qcow2: Return 0/-errno in get_cluster_table
authorKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2010 14:03:00 +0000 (15:03 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:59:19 +0000 (14:59 -0600)
commitbb9c5d05f9d9bf7839f07ef157488396b1296e69
treea74e5620d81b2428d5dafcd159cac33d679a7403
parent36691758fbbe86be194da5dcd4dde0312ed8ffc3
qcow2: Return 0/-errno in get_cluster_table

Switching to 0/-errno allows it to distinguish different error cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2-cluster.c