From 22e0b538c3da7804956346bd5c00501c046e644b Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 29 Jan 2021 18:54:20 +0000 Subject: [PATCH] s3/smbd: call get_ea_list_from_file with smb_fname->fsp A step to transition away from using smb_fname & fsp paramater combination with this function. Signed-off-by: Noel Power Reviewed-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/smbd/trans2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index f9ef056b736..6ac33f8e0b6 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1997,7 +1997,8 @@ static NTSTATUS smbd_marshall_dir_entry(TALLOC_CTX *ctx, SSVAL(p,20,mode); p += 22; /* p now points to the EA area. */ - status = get_ea_list_from_file(ctx, conn, NULL, + status = get_ea_list_from_file(ctx, conn, + smb_fname->fsp, smb_fname, &ea_len, &file_list); if (!NT_STATUS_IS_OK(status)) { -- 2.47.3