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

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

 



On Sat, Aug 08, 2020 at 04:19:58PM +0800, Hao Wang wrote:
> From: Hao Wang <wanghao232@xxxxxxxxxx>
> 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@xxxxxxxxxx>
> ---
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux