]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: nfs4acl_xattr: Remove nfs4acl_xattr_fail__sys_acl_get_file().
authorJeremy Allison <jra@samba.org>
Tue, 8 Jun 2021 22:23:47 +0000 (15:23 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 9 Jun 2021 13:14:31 +0000 (13:14 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_nfs4acl_xattr.c

index ae53dd29f94ab437f61c750cd623011d87736e85..41360d3ebe0c48228d94303d859117570c839af1 100644 (file)
@@ -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,