Re: [PATCH 2/4] Treat failure to relabel stdin_path as non-fatal on NFS

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

 



On 11/01/2010 11:48 AM, Daniel P. Berrange wrote:
> NFS does not support file labelling, so ignore this error
> for stdin_path when on NFS.
> 
> * src/security/security_selinux.c: Ignore failures on labelling
>   stdin_path on NFS
> * src/util/storage_file.c, src/util/storage_file.h: Refine
>   virStorageFileIsSharedFS() to allow it to check for a
>   specific FS type.
> ---
>  src/libvirt_private.syms        |    1 +
>  src/security/security_selinux.c |    9 ++++++---
>  src/util/storage_file.c         |   32 +++++++++++++++++++++++++-------
>  src/util/storage_file.h         |    9 +++++++++
>  4 files changed, 41 insertions(+), 10 deletions(-)
> 
>  
> -int virStorageFileIsSharedFS(const char *path)
> +int virStorageFileIsSharedFSType(const char *path,
> +                             int fstypes)

Indentation.

ACK with that nit fixed.

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