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

s3: VFS: afsacl: Remove afsacl_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-06-08 16:01:50 -07:00 committed by Ralph Boehme
parent d427df221e
commit 0ecc56cb2e

View File

@ -1063,17 +1063,6 @@ static int afsacl_connect(vfs_handle_struct *handle,
return 0; return 0;
} }
/* We don't have a linear form of the AFS ACL yet */
static int afsacl_sys_acl_blob_get_file(vfs_handle_struct *handle,
const struct smb_filename *smb_fname,
TALLOC_CTX *mem_ctx,
char **blob_description,
DATA_BLOB *blob)
{
errno = ENOSYS;
return -1;
}
/* We don't have a linear form of the AFS ACL yet */ /* We don't have a linear form of the AFS ACL yet */
static int afsacl_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob) static int afsacl_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob)
{ {
@ -1085,7 +1074,6 @@ static struct vfs_fn_pointers vfs_afsacl_fns = {
.connect_fn = afsacl_connect, .connect_fn = afsacl_connect,
.fget_nt_acl_fn = afsacl_fget_nt_acl, .fget_nt_acl_fn = afsacl_fget_nt_acl,
.fset_nt_acl_fn = afsacl_fset_nt_acl, .fset_nt_acl_fn = afsacl_fset_nt_acl,
.sys_acl_blob_get_file_fn = afsacl_sys_acl_blob_get_file,
.sys_acl_blob_get_fd_fn = afsacl_sys_acl_blob_get_fd .sys_acl_blob_get_fd_fn = afsacl_sys_acl_blob_get_fd
}; };