qcow2: Return 0/-errno in get_cluster_table
commit19abbad0dae76ebcfb37188b33ecc862042e6adc
authorKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2010 14:03:00 +0000 (20 15:03 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Jan 2010 13:51:23 +0000 (27 07:51 -0600)
tree5b76e17c98de050d0349000a1569f542089db587
parentf48aba6de74e0b21d52257f81521c7841b3e7cc8
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>
(cherry picked from commit 1e3e8f1a437cafa3b23486aea36be3c9c0bd4e28)
block/qcow2-cluster.c