From: Volker Lendecke Date: Mon, 27 Oct 2025 11:26:27 +0000 (+0100) Subject: smbd: Make get_real_filename_full_scan_at() static X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355efdc0ee41c0e318009805bef9830ba35d5008;p=thirdparty%2Fsamba.git smbd: Make get_real_filename_full_scan_at() static Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index ec2f65553b6..cb3b7da45a1 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -269,11 +269,11 @@ static bool sname_equal(const char *name1, const char *name2, If the name looks like a mangled name then try via the mangling functions ****************************************************************************/ -NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp, - const char *name, - bool mangled, - TALLOC_CTX *mem_ctx, - char **found_name) +static NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp, + const char *name, + bool mangled, + TALLOC_CTX *mem_ctx, + char **found_name) { struct connection_struct *conn = dirfsp->conn; struct smb_Dir *cur_dir = NULL; diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 5e7677d347f..bd4b9d5116e 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -304,11 +304,6 @@ uint32_t filename_create_ucf_flags(struct smb_request *req, NTSTATUS canonicalize_snapshot_path(struct smb_filename *smb_fname, uint32_t ucf_flags, NTTIME twrp); -NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp, - const char *name, - bool mangled, - TALLOC_CTX *mem_ctx, - char **found_name); char *get_original_lcomp(TALLOC_CTX *ctx, connection_struct *conn, const char *filename_in,