qcow2: Don't ignore qcow2_alloc_clusters return value
commit5d757b563d59142ca81e1073a8e8396750a0ad1a
authorKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2010 14:04:01 +0000 (20 15:04 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:59:19 +0000 (26 14:59 -0600)
treec4527c89f5ea8b45901c45daaca72450a454a7c8
parentdb3a964fb6d66bd50faca76968479bb62ed25330
qcow2: Don't ignore qcow2_alloc_clusters return value

Now that qcow2_alloc_clusters can return error codes, we must handle them in
the callers of qcow2_alloc_clusters.

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