On Tue, Jun 26, 2018 at 04:24:29PM +0200, Kevin Wolf wrote:
> 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 <kw...@redhat.com>
> ---
>  block/qcow2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to