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