[libvirt] [PATCHv2] util: recognize SMB/CIFS filesystems as shared
Eric Blake
eblake at redhat.com
Fri Sep 27 12:01:30 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130927/4b56ea35/attachment-0001.sig>
More information about the libvir-list
mailing list