Re: [PATCH 4/9] nodedev: Use access instead of stat

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

 



On 14.01.2013 15:34, Osier Yang wrote:
> The use of 'stat' in nodeDeviceVportCreateDelete is only to check
> if the file exists or not, it's a bit overkill, and safe to replace
> with the wrapper of access(2) (virFileExists).
> ---
>  src/node_device/node_device_driver.c |    6 ++----
>  1 files changed, 2 insertions(+), 4 deletions(-)
> 

ACK

Michal

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