Re: [PATCH] Fix auditing of disk hotunplug operations

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

 



On 06/02/2011 07:58 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> The qemuAuditDisk calls in disk hotunplug operations were being
> passed 'ret >= 0', but the code which sets ret to 0 was not yet
> executed, and the error path had already jumped to the 'cleanup'
> label. This meant hotunplug failures were never audited, and
> hotunplug success was audited as a failure
> 
> * src/qemu/qemu_hotplug.c: Fix auditing of hotunplug
> ---
>  src/qemu/qemu_hotplug.c |    7 +++++--
>  1 files changed, 5 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]