From: Jeremy Allison Date: Sat, 15 May 2021 01:21:41 +0000 (-0700) Subject: s3: VFS: nfsacl_xattr: Remove nfs4acl_xattr_fail__sys_acl_delete_def_file(). X-Git-Tag: tevent-0.11.0~832 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3607212b388554cc61d09546eaf14ae6f8d27028;p=thirdparty%2Fsamba.git s3: VFS: nfsacl_xattr: Remove nfs4acl_xattr_fail__sys_acl_delete_def_file(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- diff --git a/source3/modules/vfs_nfs4acl_xattr.c b/source3/modules/vfs_nfs4acl_xattr.c index 1ec347b963f..1cf1d22381b 100644 --- a/source3/modules/vfs_nfs4acl_xattr.c +++ b/source3/modules/vfs_nfs4acl_xattr.c @@ -647,12 +647,6 @@ static int nfs4acl_xattr_fail__sys_acl_set_fd(vfs_handle_struct *handle, return -1; } -static int nfs4acl_xattr_fail__sys_acl_delete_def_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - return -1; -} - static int nfs4acl_xattr_fail__sys_acl_delete_def_fd(vfs_handle_struct *handle, files_struct *fsp) { @@ -686,7 +680,6 @@ static struct vfs_fn_pointers nfs4acl_xattr_fns = { .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, .sys_acl_set_fd_fn = nfs4acl_xattr_fail__sys_acl_set_fd, - .sys_acl_delete_def_file_fn = nfs4acl_xattr_fail__sys_acl_delete_def_file, .sys_acl_delete_def_fd_fn = nfs4acl_xattr_fail__sys_acl_delete_def_fd, };