• L
    util: recognize SMB/CIFS filesystems as shared · 894b3a9e
    Laine Stump 提交于
    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.
    
    (cherry picked from commit e4e73337)
    894b3a9e
virstoragefile.c 45.1 KB