The branch, master has been updated
       via  5f957449245 vfs_glusterfs: Enable caching of selinux xattr by 
default
      from  0a2fae2d479 s3:lib: Make sure that have_rsrc is initialized

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5f95744924559c866e3624b6825b57df8c90ac37
Author: Anoop C S <[email protected]>
Date:   Sun May 31 22:30:53 2020 +0530

    vfs_glusterfs: Enable caching of selinux xattr by default
    
    Signed-off-by: Anoop C S <[email protected]>
    Reviewed-by: Guenther Deschner <[email protected]>
    
    Autobuild-User(master): Anoop C S <[email protected]>
    Autobuild-Date(master): Wed Jun 17 08:23:33 UTC 2020 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_glusterfs.c | 6 ++++++
 1 file changed, 6 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_glusterfs.c b/source3/modules/vfs_glusterfs.c
index ff5382af9fb..bf7244ea3a5 100644
--- a/source3/modules/vfs_glusterfs.c
+++ b/source3/modules/vfs_glusterfs.c
@@ -333,6 +333,12 @@ static int vfs_gluster_connect(struct vfs_handle_struct 
*handle,
                goto done;
        }
 
+       ret = glfs_set_xlator_option(fs, "*-md-cache", "cache-selinux",
+                                    "true");
+       if (ret < 0) {
+               DEBUG(0, ("%s: Failed to set xlator options\n", volume));
+               goto done;
+       }
 
        ret = glfs_set_xlator_option(fs, "*-snapview-client",
                                     "snapdir-entry-path",


-- 
Samba Shared Repository

Reply via email to