From: Noel Power Date: Fri, 29 Jan 2021 18:54:20 +0000 (+0000) Subject: s3/smbd: call get_ea_list_from_file with smb_fname->fsp X-Git-Tag: tevent-0.11.0~1723 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22e0b538c3da7804956346bd5c00501c046e644b;p=thirdparty%2Fsamba.git 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 --- 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)) {