From: Jeremy Allison Date: Fri, 14 May 2021 23:12:05 +0000 (-0700) Subject: s3: VFS: aixacl: Remove aixacl_sys_acl_delete_def_file(). X-Git-Tag: tevent-0.11.0~842 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e1d79dbb2abe49f451b4563f6e3060772626218;p=thirdparty%2Fsamba.git s3: VFS: aixacl: Remove aixacl_sys_acl_delete_def_file(). Signed-off-by: Jeremy Allison Reviewed-by: Noel Power --- diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index 40641a1ca34..182e4e1880e 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -184,12 +184,6 @@ int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, return rc; } -int aixacl_sys_acl_delete_def_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - return 0; /* otherwise you can't set acl at upper level */ -} - int aixacl_sys_acl_delete_def_fd(vfs_handle_struct *handle, files_struct *fsp) { @@ -202,7 +196,6 @@ static struct vfs_fn_pointers vfs_aixacl_fns = { .sys_acl_blob_get_file_fn = posix_sys_acl_blob_get_file, .sys_acl_blob_get_fd_fn = posix_sys_acl_blob_get_fd, .sys_acl_set_fd_fn = aixacl_sys_acl_set_fd, - .sys_acl_delete_def_file_fn = aixacl_sys_acl_delete_def_file, .sys_acl_delete_def_fd_fn = aixacl_sys_acl_delete_def_fd, };