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

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


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