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: 772d1f973f87269f6a4a4ea4b880680f3779bbdf
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-29 14:20:56 +02:00
..
2018-03-19 14:58:37 -05:00
2018-06-18 17:04:55 +02:00
2018-05-15 16:15:21 +02:00
2018-05-15 16:15:21 +02:00
2018-05-15 16:15:21 +02:00
2018-06-18 15:03:25 +02:00
2017-11-17 13:35:59 +01:00
2017-11-17 13:35:59 +01:00
2018-05-30 13:31:01 +02:00
2018-05-15 16:15:21 +02:00
2018-05-30 13:31:18 +02:00
2018-06-29 14:20:56 +02:00
2017-07-11 17:44:56 +02:00
2018-02-09 13:52:16 +01:00
2018-06-18 17:04:57 +02:00
2016-10-07 14:14:06 +02:00
2017-11-17 13:35:59 +01:00
2017-12-18 17:07:02 +03:00
2018-06-27 13:06:34 +01:00
2018-05-15 16:11:41 +02:00
2018-06-15 14:49:44 +02:00
2018-06-18 15:03:25 +02:00
2018-02-09 13:52:16 +01:00
2018-06-15 14:49:44 +02:00
2018-06-27 13:06:34 +01:00
2018-05-15 16:15:21 +02:00
2018-06-18 17:05:16 +02:00
2018-05-04 08:23:39 -05:00
2018-03-13 15:43:48 -05:00
2018-06-15 14:49:44 +02:00
2018-06-15 14:49:44 +02:00
2018-05-15 16:11:41 +02:00
2018-05-04 08:27:53 +02:00
2018-06-15 14:49:44 +02:00
2018-02-09 05:05:11 +01:00
2018-05-04 08:27:53 +02:00
2018-06-11 16:18:45 +02:00
2018-02-13 17:00:00 +01:00
2018-05-31 04:16:06 +03:00
2018-06-11 16:18:45 +02:00
2018-05-31 04:16:06 +03:00
2018-06-29 14:20:56 +02:00
2018-05-15 16:15:21 +02:00
2018-06-15 14:49:44 +02:00
2018-03-09 15:17:47 +01:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2018-03-09 15:17:47 +01:00
2018-06-15 14:49:44 +02:00
2017-07-17 11:34:11 +08:00
2018-06-15 14:49:44 +02:00
2018-06-01 14:41:47 +01:00
2018-06-15 14:49:44 +02:00
2018-05-23 14:30:51 +02:00
2018-06-15 14:49:44 +02:00
2018-06-15 14:49:44 +02:00
2018-06-15 14:49:44 +02:00
2018-05-30 13:31:01 +02:00
2018-03-02 13:45:50 -06:00
2018-06-11 16:18:45 +02:00
2018-05-23 14:30:51 +02:00
2018-06-15 14:49:44 +02:00
2018-05-31 04:16:06 +03:00
2018-05-31 04:16:06 +03:00
2018-06-15 14:49:44 +02:00
2014-12-12 15:42:22 +00:00
2018-03-26 21:17:24 +02:00
2018-06-15 14:49:44 +02:00
2018-06-18 15:03:25 +02:00
2018-06-15 14:49:44 +02:00
2018-05-15 16:11:41 +02:00
2018-03-02 13:45:50 -06:00