s3: VFS: solarisacl: Make solarisacl_sys_acl_get_file() static. Still called internally.
authorJeremy Allison <jra@samba.org>
Tue, 8 Jun 2021 22:25:14 +0000 (15:25 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:31 +0000 (13:14 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_solarisacl.c

index 9e310d13bb546c0830ede0a8b376c3eac60dad9e..146e932da253932473abcf7c90d0041c26ed929f 100644 (file)
@@ -62,7 +62,7 @@ static bool solaris_acl_check(SOLARIS_ACL_T solaris_acl, int count);
 
 /* public functions - the api */
 
-SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
+static SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
                                const struct smb_filename *smb_fname,
                                SMB_ACL_TYPE_T type,
                                TALLOC_CTX *mem_ctx)
@@ -780,7 +780,6 @@ static bool solaris_acl_check(SOLARIS_ACL_T solaris_acl, int count)
 #endif
 
 static struct vfs_fn_pointers solarisacl_fns = {
-       .sys_acl_get_file_fn = solarisacl_sys_acl_get_file,
        .sys_acl_get_fd_fn = solarisacl_sys_acl_get_fd,
        .sys_acl_blob_get_file_fn = posix_sys_acl_blob_get_file,
        .sys_acl_blob_get_fd_fn = posix_sys_acl_blob_get_fd,