diff options
author | Jeremy Allison <jra@samba.org> | 2021-06-08 16:16:32 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-06-09 13:14:31 +0000 |
commit | 71b278d1626ef4c81ec8503c0a9435be77b10238 (patch) | |
tree | 7882f557edc95ebca6282caa46ba431ea9a2cf2e /examples/VFS | |
parent | c8f468d29d8fde67c2e39b375e5a5e8ffac6b282 (diff) | |
download | samba-71b278d1626ef4c81ec8503c0a9435be77b10238.tar.gz |
s3: VFS: RIP SMB_VFS_SYS_ACL_BLOB_GET_FILE()
(\ _ /)
( \ O / )
(// \\)
X
/ \
/___\
_____/ \\_____
| + ||
| ||
| SMB_VFS_SYS_ACL ||
| BLOB_GET_FILE() ||
| ||
| ||
| ||
| _ ___ _ ||
| | \ | | \ ||
| | | | | | ||
| |_/ | |_/ ||
| | \ | | ||
| | \ | | ||
| | \. _|_. | . ||
| ||
* * | * ** * ** |** **
\)),.,\(/.,(//,,..,,\||(,,.,\\,.((//
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples/VFS')
-rw-r--r-- | examples/VFS/skel_opaque.c | 11 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index b41b33e17e2..2fad722de04 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -797,16 +797,6 @@ static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, return (SMB_ACL_T) NULL; } -static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - TALLOC_CTX *mem_ctx, - char **blob_description, - DATA_BLOB *blob) -{ - errno = ENOSYS; - return -1; -} - static int skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob) @@ -1074,7 +1064,6 @@ static struct vfs_fn_pointers skel_opaque_fns = { /* POSIX ACL operations. */ .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_fd_fn = skel_sys_acl_set_fd, .sys_acl_delete_def_fd_fn = skel_sys_acl_delete_def_fd, diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 15a50dc67ba..6783996a5e0 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -1059,16 +1059,6 @@ static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, return SMB_VFS_NEXT_SYS_ACL_GET_FD(handle, fsp, type, mem_ctx); } -static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, - const struct smb_filename *smb_fname, - TALLOC_CTX *mem_ctx, - char **blob_description, - DATA_BLOB *blob) -{ - return SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, smb_fname, mem_ctx, - blob_description, blob); -} - static int skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob) @@ -1379,7 +1369,6 @@ static struct vfs_fn_pointers skel_transparent_fns = { /* POSIX ACL operations. */ .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_fd_fn = skel_sys_acl_set_fd, .sys_acl_delete_def_fd_fn = skel_sys_acl_delete_def_fd, |