diff options
author | Jeremy Allison <jra@samba.org> | 2018-05-17 11:32:58 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-05-25 18:39:24 +0200 |
commit | 7b8fa17f06b2e401584f9d3290d9c14ad120ce39 (patch) | |
tree | be7c442f6d3f8481d5e78f9b6f93cb7976bf7ed2 /source3/include | |
parent | 7d3059cd7415c8da429f1f18cc562c6d138d77cf (diff) | |
download | samba-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 'source3/include')
-rw-r--r-- | source3/include/smbprofile.h | 1 | ||||
-rw-r--r-- | source3/include/vfs.h | 4 | ||||
-rw-r--r-- | source3/include/vfs_macros.h | 5 |
3 files changed, 1 insertions, 9 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h index a4c3f241eba..3c8ba2d8e2a 100644 --- a/source3/include/smbprofile.h +++ b/source3/include/smbprofile.h @@ -101,7 +101,6 @@ struct tevent_context; SMBPROFILE_STATS_BASIC(get_nt_acl) \ SMBPROFILE_STATS_BASIC(fget_nt_acl) \ SMBPROFILE_STATS_BASIC(fset_nt_acl) \ - SMBPROFILE_STATS_BASIC(chmod_acl) \ SMBPROFILE_STATS_BASIC(fchmod_acl) \ SMBPROFILE_STATS_SECTION_END \ \ diff --git a/source3/include/vfs.h b/source3/include/vfs.h index cc7948a115d..48d97b133c9 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -251,6 +251,7 @@ All users are now pread or async versions. */ /* Version 39 - Remove SMB_VFS_WRITE All users are now pwrite or async versions. */ +/* Version 39 - Remove SMB_VFS_CHMOD_ACL - no longer used. */ #define SMB_VFS_INTERFACE_VERSION 39 @@ -916,9 +917,6 @@ struct vfs_fn_pointers { /* POSIX ACL operations. */ - int (*chmod_acl_fn)(struct vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - mode_t mode); int (*fchmod_acl_fn)(struct vfs_handle_struct *handle, struct files_struct *fsp, mode_t mode); SMB_ACL_T (*sys_acl_get_file_fn)(struct vfs_handle_struct *handle, diff --git a/source3/include/vfs_macros.h b/source3/include/vfs_macros.h index d4836134697..dda275fa968 100644 --- a/source3/include/vfs_macros.h +++ b/source3/include/vfs_macros.h @@ -460,11 +460,6 @@ #define SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd) \ smb_vfs_call_fset_nt_acl((handle)->next, (fsp), (security_info_sent), (psd)) -#define SMB_VFS_CHMOD_ACL(conn, smb_fname, mode) \ - smb_vfs_call_chmod_acl((conn)->vfs_handles, (smb_fname), (mode)) -#define SMB_VFS_NEXT_CHMOD_ACL(handle, smb_fname, mode) \ - smb_vfs_call_chmod_acl((handle)->next, (smb_fname), (mode)) - #define SMB_VFS_FCHMOD_ACL(fsp, mode) \ smb_vfs_call_fchmod_acl((fsp)->conn->vfs_handles, (fsp), (mode)) #define SMB_VFS_NEXT_FCHMOD_ACL(handle, fsp, mode) \ |