]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: acl_xattr. Remove get_nt_acl_fn().
authorJeremy Allison <jra@samba.org>
Tue, 14 Apr 2020 17:05:21 +0000 (10:05 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 May 2020 19:27:37 +0000 (19:27 +0000)
No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_acl_xattr.c

index 81ed7b904173888e0e813be3601e5d0e50bdc326..aaba8cda62d5257446acea7c666202aba9fcbdb1 100644 (file)
@@ -368,23 +368,6 @@ static NTSTATUS acl_xattr_fget_nt_acl(vfs_handle_struct *handle,
        return status;
 }
 
-static NTSTATUS acl_xattr_get_nt_acl(vfs_handle_struct *handle,
-                                    const struct smb_filename *smb_fname,
-                                    uint32_t security_info,
-                                    TALLOC_CTX *mem_ctx,
-                                    struct security_descriptor **ppdesc)
-{
-       NTSTATUS status;
-       status = get_nt_acl_common_at(get_acl_blob_at,
-                               handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname,
-                               security_info,
-                               mem_ctx,
-                               ppdesc);
-       return status;
-}
-
 static NTSTATUS acl_xattr_get_nt_acl_at(vfs_handle_struct *handle,
                                struct files_struct *dirfsp,
                                const struct smb_filename *smb_fname,
@@ -421,7 +404,6 @@ static struct vfs_fn_pointers vfs_acl_xattr_fns = {
        .chmod_fn = chmod_acl_module_common,
        .fchmod_fn = fchmod_acl_module_common,
        .fget_nt_acl_fn = acl_xattr_fget_nt_acl,
-       .get_nt_acl_fn = acl_xattr_get_nt_acl,
        .get_nt_acl_at_fn = acl_xattr_get_nt_acl_at,
        .fset_nt_acl_fn = acl_xattr_fset_nt_acl,
        .sys_acl_set_file_fn = sys_acl_set_file_xattr,