aboutsummaryrefslogtreecommitdiff
path: root/qemu-doc.texi
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2019-02-27 10:26:24 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-08 12:26:45 +0100
commit77e023ff79222191e8cc3d377504da8f19926837 (patch)
treecb20fe92b89dd4dd24f840ddaa41c8026de3685d /qemu-doc.texi
parentc6d619cc12813acb2b1198f28cf2256ea9a30107 (diff)
downloadqemu-77e023ff79222191e8cc3d377504da8f19926837.zip
qemu-77e023ff79222191e8cc3d377504da8f19926837.tar.gz
qemu-77e023ff79222191e8cc3d377504da8f19926837.tar.bz2
qcow2: Return 0/-errno in qcow2_alloc_compressed_cluster_offset()
qcow2_alloc_compressed_cluster_offset() used to return the cluster offset for success and 0 for error. This doesn't only conflict with 0 as a valid host offset, but also loses the error code. Similar to the change made to qcow2_alloc_cluster_offset() for uncompressed clusters in commit 148da7ea9d6, make the function return 0/-errno and return the allocated cluster offset in a by-reference parameter. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-doc.texi')
0 files changed, 0 insertions, 0 deletions