Re: [PATCHv2] util: recognize SMB/CIFS filesystems as shared

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

 



On 09/27/2013 04:38 AM, Laine Stump wrote:
> This should resolve:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1012085
> 
> libvirt previously recognized NFS, GFS2, OCFS2, and AFS filesystems as
> "shared", and thus eligible for exceptions to certain rules/actions
> about chowning image files before handing them off to a guest. This
> patch widens the definition of "shared filesystem" to include SMB and
> CIFS filesystems (aka "Windows file sharing"); both of these use the
> same protocol, but different drivers so there are different magic
> numbers for each.
> ---
> 
> Change from V1 - also check for CIFS_SUPER_MAGIC, not just
> SMB_SUPER_MAGIC.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
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]