Files
qemu/block
Kevin Wolf ae5475e82f qcow2: Fix qcow2_truncate() error return value
If qcow2_alloc_clusters_at() returns an error, we do need to negate it
to get back the positive errno code for error_setg_errno(), but we still
need to return the negative error code.

Fixes: 772d1f973f
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-29 14:20:56 +02:00
..
2016-10-07 14:14:06 +02:00
2018-06-15 14:49:44 +02:00
2018-05-15 16:15:21 +02:00
2018-05-15 16:11:41 +02:00
2018-02-09 05:05:11 +01:00
2017-07-17 11:34:11 +08:00
2018-06-01 14:41:47 +01:00
2018-06-15 14:49:44 +02:00
2018-06-11 16:18:45 +02:00
2018-06-15 14:49:44 +02:00