From aaea5cc415348bf61d7636b83ac3b58aa22f020d Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 9 Feb 2021 17:55:50 +0000 Subject: [PATCH] s3/smbd: remove connection_struct from get_ea_list_from_file_path Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- source3/smbd/trans2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index d00eb967061..e50785e7a5a 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -419,7 +419,6 @@ NTSTATUS get_ea_names_from_file(TALLOC_CTX *mem_ctx, ****************************************************************************/ static NTSTATUS get_ea_list_from_file_path(TALLOC_CTX *mem_ctx, - connection_struct *conn, files_struct *fsp, size_t *pea_total_len, struct ea_list **ea_list) @@ -549,7 +548,6 @@ static NTSTATUS get_ea_list_from_fsp(TALLOC_CTX *mem_ctx, } return get_ea_list_from_file_path(mem_ctx, - fsp->conn, fsp, pea_total_len, ea_list); @@ -706,7 +704,6 @@ static unsigned int estimate_ea_size(connection_struct *conn, files_struct *fsp) fsp = fsp->base_fsp; } (void)get_ea_list_from_file_path(mem_ctx, - conn, fsp, &total_ea_len, &ea_list); @@ -747,7 +744,6 @@ static void canonicalize_ea_name(connection_struct *conn, TALLOC_CTX *mem_ctx = talloc_tos(); struct ea_list *ea_list; NTSTATUS status = get_ea_list_from_file_path(mem_ctx, - conn, smb_fname->fsp, &total_ea_len, &ea_list); -- 2.47.3