]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_delete_def_file().
authorJeremy Allison <jra@samba.org>
Sat, 15 May 2021 02:39:41 +0000 (19:39 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 18 May 2021 17:29:34 +0000 (17:29 +0000)
No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/modules/posixacl_xattr.c
source3/modules/posixacl_xattr.h

index 23a79929014132748e5fc0a0e3c0140c21ecd361..2b8c926cd33f00e700554b6ae110bb8e1c16eb11 100644 (file)
@@ -512,13 +512,6 @@ int posixacl_xattr_acl_set_fd(vfs_handle_struct *handle,
        return SMB_VFS_FSETXATTR(fsp, name, buf, size, 0);
 }
 
-int posixacl_xattr_acl_delete_def_file(vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname)
-{
-       return SMB_VFS_FREMOVEXATTR(smb_fname->fsp,
-                       ACL_EA_DEFAULT);
-}
-
 int posixacl_xattr_acl_delete_def_fd(vfs_handle_struct *handle,
                                files_struct *fsp)
 {
index 1b23d1a59e1712a0f65fdb5fa3c8395cc7f1e00f..83885b8c10e752676613c1c8f5279e6fe1835eab 100644 (file)
@@ -40,9 +40,6 @@ int posixacl_xattr_acl_set_fd(vfs_handle_struct *handle,
                              SMB_ACL_TYPE_T type,
                              SMB_ACL_T theacl);
 
-int posixacl_xattr_acl_delete_def_file(vfs_handle_struct *handle,
-                               const struct smb_filename *smb_fname);
-
 int posixacl_xattr_acl_delete_def_fd(vfs_handle_struct *handle,
                                files_struct *fsp);
 #endif