From bf34438ef51cd16b5573fa56492ee91887bb84e5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 May 2021 19:39:41 -0700 Subject: [PATCH] s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_delete_def_file(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- source3/modules/posixacl_xattr.c | 7 ------- source3/modules/posixacl_xattr.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/source3/modules/posixacl_xattr.c b/source3/modules/posixacl_xattr.c index 23a79929014..2b8c926cd33 100644 --- a/source3/modules/posixacl_xattr.c +++ b/source3/modules/posixacl_xattr.c @@ -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) { diff --git a/source3/modules/posixacl_xattr.h b/source3/modules/posixacl_xattr.h index 1b23d1a59e1..83885b8c10e 100644 --- a/source3/modules/posixacl_xattr.h +++ b/source3/modules/posixacl_xattr.h @@ -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 -- 2.47.3