From: Jeremy Allison Date: Sat, 15 May 2021 02:39:41 +0000 (-0700) Subject: s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_delete_def_file(). X-Git-Tag: tevent-0.11.0~827 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf34438ef51cd16b5573fa56492ee91887bb84e5;p=thirdparty%2Fsamba.git s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_delete_def_file(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- 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