s3: VFS: vfs_acl_xattr: Remove unlink_fn. No longer used.
authorJeremy Allison <jra@samba.org>
Wed, 18 Sep 2019 17:01:32 +0000 (10:01 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 26 Sep 2019 17:20:52 +0000 (17:20 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_acl_xattr.c

index 37c15ece8cd65c6cefdf644a8f71d8f6b3d219ab..890e6b408626617ec8b565e86a979a16465ee481 100644 (file)
@@ -278,15 +278,6 @@ static int connect_acl_xattr(struct vfs_handle_struct *handle,
        return 0;
 }
 
-static int acl_xattr_unlink(vfs_handle_struct *handle,
-                        const struct smb_filename *smb_fname)
-{
-       return unlink_acl_common(handle,
-                               handle->conn->cwd_fsp,
-                               smb_fname,
-                               0);
-}
-
 static int acl_xattr_unlinkat(vfs_handle_struct *handle,
                         struct files_struct *dirfsp,
                         const struct smb_filename *smb_fname,
@@ -344,7 +335,6 @@ static NTSTATUS acl_xattr_fset_nt_acl(vfs_handle_struct *handle,
 static struct vfs_fn_pointers vfs_acl_xattr_fns = {
        .connect_fn = connect_acl_xattr,
        .rmdir_fn = rmdir_acl_common,
-       .unlink_fn = acl_xattr_unlink,
        .unlinkat_fn = acl_xattr_unlinkat,
        .chmod_fn = chmod_acl_module_common,
        .fchmod_fn = fchmod_acl_module_common,