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

Eric Blake eblake at redhat.com
Mon Nov 1 22:04:51 UTC 2010


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101101/2d6148e0/attachment-0001.sig>


More information about the libvir-list mailing list