summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-05-17 11:32:58 -0700
committerJeremy Allison <jra@samba.org>2018-05-25 18:39:24 +0200
commit7b8fa17f06b2e401584f9d3290d9c14ad120ce39 (patch)
treebe7c442f6d3f8481d5e78f9b6f93cb7976bf7ed2 /examples/VFS
parent7d3059cd7415c8da429f1f18cc562c6d138d77cf (diff)
downloadsamba-7b8fa17f06b2e401584f9d3290d9c14ad120ce39.tar.gz
s3: VFS: Remove SMB_VFS_CHMOD_ACL().
No longer used. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_opaque.c9
-rw-r--r--examples/VFS/skel_transparent.c8
2 files changed, 0 insertions, 17 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 5529ec76aa1..61fa21b679c 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -751,14 +751,6 @@ static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
return NT_STATUS_NOT_IMPLEMENTED;
}
-static int skel_chmod_acl(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- mode_t mode)
-{
- errno = ENOSYS;
- return -1;
-}
-
static int skel_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp,
mode_t mode)
{
@@ -1005,7 +997,6 @@ struct vfs_fn_pointers skel_opaque_fns = {
/* POSIX ACL operations. */
- .chmod_acl_fn = skel_chmod_acl,
.fchmod_acl_fn = skel_fchmod_acl,
.sys_acl_get_file_fn = skel_sys_acl_get_file,
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index fde24fbc4db..018a18768ac 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -942,13 +942,6 @@ static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
return SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
}
-static int skel_chmod_acl(vfs_handle_struct *handle,
- const struct smb_filename *smb_fname,
- mode_t mode)
-{
- return SMB_VFS_NEXT_CHMOD_ACL(handle, smb_fname, mode);
-}
-
static int skel_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp,
mode_t mode)
{
@@ -1181,7 +1174,6 @@ struct vfs_fn_pointers skel_transparent_fns = {
/* POSIX ACL operations. */
- .chmod_acl_fn = skel_chmod_acl,
.fchmod_acl_fn = skel_fchmod_acl,
.sys_acl_get_file_fn = skel_sys_acl_get_file,