[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: Don't throw away errno via error_setg
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] block: Don't throw away errno via error_setg |
Date: |
Thu, 13 Feb 2014 09:02:37 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 12.02.2014 um 20:46 hat Jeff Cody geschrieben:
> There are a handful of places in the block layer where a failure path
> has a valid -errno value, yet error_setg() is used. Those instances
> should instead use error_setg_errno(), to preserve as much error
> information as possible.
>
> This patch replaces those instances with error_setg_errno(), so that
> errno is passed up the stack in the error message.
>
> Reported-By: Kevin Wolf <address@hidden>
> Signed-off-by: Jeff Cody <address@hidden>
Reviewed-by: Kevin Wolf <address@hidden>