summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_full_audit.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2022-03-16 10:14:14 +0100
committerRalph Boehme <slow@samba.org>2022-04-28 13:12:33 +0000
commitde9986fb9b7a408f767eccc64a0941a1d28f8e74 (patch)
tree6b6e7c7d804ef8efc322831f3c64c716bcbaf4a1 /source3/modules/vfs_full_audit.c
parent89bffa149dd290a130e3fbd357b4a643508c484e (diff)
downloadsamba-de9986fb9b7a408f767eccc64a0941a1d28f8e74.tar.gz
vfs: Remove name-based SMB_VFS_GET_REAL_FILENAME()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/vfs_full_audit.c')
-rw-r--r--source3/modules/vfs_full_audit.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index c57366a533e..dc013e7e3a1 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -2082,29 +2082,6 @@ static NTSTATUS smb_full_audit_fstreaminfo(vfs_handle_struct *handle,
return result;
}
-static NTSTATUS smb_full_audit_get_real_filename(
- struct vfs_handle_struct *handle,
- const struct smb_filename *path,
- const char *name,
- TALLOC_CTX *mem_ctx,
- char **found_name)
-{
- NTSTATUS result;
-
- result = SMB_VFS_NEXT_GET_REAL_FILENAME(handle, path, name, mem_ctx,
- found_name);
-
- do_log(SMB_VFS_OP_GET_REAL_FILENAME,
- NT_STATUS_IS_OK(result),
- handle,
- "%s/%s->%s",
- path->base_name,
- name,
- NT_STATUS_IS_OK(result) ? *found_name : "");
-
- return result;
-}
-
static NTSTATUS smb_full_audit_get_real_filename_at(
struct vfs_handle_struct *handle,
struct files_struct *dirfsp,
@@ -3016,7 +2993,6 @@ static struct vfs_fn_pointers vfs_full_audit_fns = {
.snap_create_fn = smb_full_audit_snap_create,
.snap_delete_fn = smb_full_audit_snap_delete,
.fstreaminfo_fn = smb_full_audit_fstreaminfo,
- .get_real_filename_fn = smb_full_audit_get_real_filename,
.get_real_filename_at_fn = smb_full_audit_get_real_filename_at,
.connectpath_fn = smb_full_audit_connectpath,
.brl_lock_windows_fn = smb_full_audit_brl_lock_windows,