]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: vfs_acl_xattr: Remove rmdir_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 4 Oct 2019 21:40:26 +0000 (14:40 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 10 Oct 2019 06:09:40 +0000 (06:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_acl_xattr.c

index 10314fc3089203e52c8ab14e72b0cfe917f59b57..7ac7a8dca60a3299a32fab3ba88b4312bdc9607e 100644 (file)
@@ -298,14 +298,6 @@ static int acl_xattr_unlinkat(vfs_handle_struct *handle,
        return ret;
 }
 
-static int acl_xattr_rmdir(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_dname)
-{
-       return rmdir_acl_common(handle,
-                               handle->conn->cwd_fsp,
-                               smb_dname);
-}
-
 static NTSTATUS acl_xattr_fget_nt_acl(vfs_handle_struct *handle,
                                      files_struct *fsp,
                                      uint32_t security_info,
@@ -344,7 +336,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 = acl_xattr_rmdir,
        .unlinkat_fn = acl_xattr_unlinkat,
        .chmod_fn = chmod_acl_module_common,
        .fchmod_fn = fchmod_acl_module_common,