1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: VFS: acl_xattr. Remove get_nt_acl_fn().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2020-04-14 10:05:21 -07:00
parent 4a7235d3a5
commit 617759ce06

View 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,