From 0ecc56cb2ea8b42ca19b2d9ce50a20f88dae552c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 8 Jun 2021 16:01:50 -0700 Subject: [PATCH] s3: VFS: afsacl: Remove afsacl_sys_acl_blob_get_file(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_afsacl.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index 6349f5a0695..c2a89494a11 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -1063,17 +1063,6 @@ static int afsacl_connect(vfs_handle_struct *handle, 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 */ 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, .fget_nt_acl_fn = afsacl_fget_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 }; -- 2.47.3