diff options
author | Ralph Boehme <slow@samba.org> | 2020-12-14 16:23:38 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-12-17 18:56:29 +0000 |
commit | 92b149954237a445594c993b79a860c63113d54b (patch) | |
tree | 232f5182e6d016fd74a12f42ce1586c25f6aaf03 /examples/VFS | |
parent | 6efe41c49cbcf3d6de95f33983f59aecd6a1ee31 (diff) | |
download | samba-92b149954237a445594c993b79a860c63113d54b.tar.gz |
vfs: RIP SMB_VFS_SYS_ACL_SET_FILE()
.--. .-, .-..-.__
.'(`.-` \_.-'-./` |\_( "\__
__.>\ '; _;---,._| / __/`'--)
/.--. : |/' _.--.<| / | |
_..-' `\ /' /` /_/ _/_/
>_.-``-. `Y /' _;---.`|/))))
'` .-''. \|: .' __, .-'"`
.'--._ `-: \/: /' '.\ _|_
/.'`\ :; /' `- `-|-`
-` | | |
:.; : | .-'~^~`-.
|: | .' _ _ `.
|:. | | |_) | |_) |
:. : | | | \ | | |
: ; | | |
: ; | | SMB_VFS |
: ; | | SYS_ACL |
: ; | | SET_FILE |
.jgs. : ; | |
-."-/\\\/:::. `\."-._'."-"_\\-| |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 10 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index e00f886b700..1f20753fc76 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -839,15 +839,6 @@ static int skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, return -1; } -static int skel_sys_acl_set_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - SMB_ACL_TYPE_T acltype, - SMB_ACL_T theacl) -{ - errno = ENOSYS; - return -1; -} - static int skel_sys_acl_set_fd(vfs_handle_struct *handle, struct files_struct *fsp, SMB_ACL_TYPE_T type, @@ -1140,7 +1131,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { .sys_acl_get_fd_fn = skel_sys_acl_get_fd, .sys_acl_blob_get_file_fn = skel_sys_acl_blob_get_file, .sys_acl_blob_get_fd_fn = skel_sys_acl_blob_get_fd, - .sys_acl_set_file_fn = skel_sys_acl_set_file, .sys_acl_set_fd_fn = skel_sys_acl_set_fd, .sys_acl_delete_def_file_fn = skel_sys_acl_delete_def_file, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index f3d74556ef3..f7d99e6101b 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -1103,15 +1103,6 @@ static int skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, blob_description, blob); } -static int skel_sys_acl_set_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - SMB_ACL_TYPE_T acltype, - SMB_ACL_T theacl) -{ - return SMB_VFS_NEXT_SYS_ACL_SET_FILE(handle, smb_fname, - acltype, theacl); -} - static int skel_sys_acl_set_fd(vfs_handle_struct *handle, struct files_struct *fsp, SMB_ACL_TYPE_T type, @@ -1445,7 +1436,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { .sys_acl_get_fd_fn = skel_sys_acl_get_fd, .sys_acl_blob_get_file_fn = skel_sys_acl_blob_get_file, .sys_acl_blob_get_fd_fn = skel_sys_acl_blob_get_fd, - .sys_acl_set_file_fn = skel_sys_acl_set_file, .sys_acl_set_fd_fn = skel_sys_acl_set_fd, .sys_acl_delete_def_file_fn = skel_sys_acl_delete_def_file, |