From: Jeremy Allison Date: Tue, 8 Jun 2021 22:23:47 +0000 (-0700) Subject: s3: VFS: nfs4acl_xattr: Remove nfs4acl_xattr_fail__sys_acl_get_file(). X-Git-Tag: tevent-0.11.0~487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=155a660e2c5f60cd79c6c8ecb7feded0790c92a2;p=thirdparty%2Fsamba.git s3: VFS: nfs4acl_xattr: Remove nfs4acl_xattr_fail__sys_acl_get_file(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_nfs4acl_xattr.c b/source3/modules/vfs_nfs4acl_xattr.c index ae53dd29f94..41360d3ebe0 100644 --- a/source3/modules/vfs_nfs4acl_xattr.c +++ b/source3/modules/vfs_nfs4acl_xattr.c @@ -529,14 +529,6 @@ static int nfs4acl_connect(struct vfs_handle_struct *handle, Function declarations taken from vfs_solarisacl */ -static SMB_ACL_T nfs4acl_xattr_fail__sys_acl_get_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - SMB_ACL_TYPE_T type, - TALLOC_CTX *mem_ctx) -{ - return (SMB_ACL_T)NULL; -} - static SMB_ACL_T nfs4acl_xattr_fail__sys_acl_get_fd(vfs_handle_struct *handle, files_struct *fsp, SMB_ACL_TYPE_T type, @@ -580,7 +572,6 @@ static struct vfs_fn_pointers nfs4acl_xattr_fns = { .fget_nt_acl_fn = nfs4acl_xattr_fget_nt_acl, .fset_nt_acl_fn = nfs4acl_xattr_fset_nt_acl, - .sys_acl_get_file_fn = nfs4acl_xattr_fail__sys_acl_get_file, .sys_acl_get_fd_fn = nfs4acl_xattr_fail__sys_acl_get_fd, .sys_acl_blob_get_file_fn = nfs4acl_xattr_fail__sys_acl_blob_get_file, .sys_acl_blob_get_fd_fn = nfs4acl_xattr_fail__sys_acl_blob_get_fd,