From da2d61ba80d5b7cc87e52e373cdb2f2270b86c12 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 15 Dec 2021 15:55:02 +0000 Subject: [PATCH] s3: smbd: In stat_cache_lookup(), remove unused posix_paths param. Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- source3/smbd/filename.c | 1 - source3/smbd/proto.h | 1 - source3/smbd/statcache.c | 1 - 3 files changed, 3 deletions(-) diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 2faa23c8b4a..4c5dbbfacbd 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -1092,7 +1092,6 @@ NTSTATUS unix_convert(TALLOC_CTX *mem_ctx, bool found; found = stat_cache_lookup(state->conn, - state->posix_pathnames, &state->smb_fname->base_name, &state->dirpath, &state->name, diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 1e31ded1b1a..4c1792d3932 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1165,7 +1165,6 @@ void stat_cache_add( const char *full_orig_name, NTTIME twrp, bool case_sensitive); bool stat_cache_lookup(connection_struct *conn, - bool posix_paths, char **pp_name, char **pp_dirpath, char **pp_start, diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index f5fa07a8436..3b7a3c4f4f0 100644 --- a/source3/smbd/statcache.c +++ b/source3/smbd/statcache.c @@ -196,7 +196,6 @@ void stat_cache_add( const char *full_orig_name, */ bool stat_cache_lookup(connection_struct *conn, - bool posix_paths, char **pp_name, char **pp_dirpath, char **pp_start, -- 2.47.3