1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

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 <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Noel Power
2021-01-29 18:54:20 +00:00
committed by Jeremy Allison
parent 3d91fe071a
commit 22e0b538c3

View File

@ -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)) {