[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] doCoreDump: fix return value not expect as result



On Sat, Aug 08, 2020 at 04:19:58PM +0800, Hao Wang wrote:
> From: Hao Wang <wanghao232 huawei com>
> Subject: [PATCH] doCoreDump: fix return value not expect as result
>
> In a case that qemuDumpToFd() return zero while VIR_CLOSE(fd) fails,
> codes will go to "cleanup" with "ret=0", resulting in unexpected return
> value. Fix that.
>
> Signed-off-by: Hao Wang <wanghao232 huawei com>
> ---
Reviewed-by: Erik Skultety <eskultet redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]