From 82c95d13390904ae6957280dac137e54e9a988bb Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 22 Jun 2021 12:17:37 -0700 Subject: [PATCH] s3: VFS: streams_xattr: In walk_xattr_streams() use smb_fname->fsp for get_ea_value(). We know this is a valid fsp as we have already used it above inside walk_xattr_streams() as an argument to get_ea_names_from_file(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_streams_xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index d49cc675ce5..52db425615e 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -779,8 +779,8 @@ static NTSTATUS walk_xattr_streams(vfs_handle_struct *handle, status = get_ea_value(names, handle->conn, + smb_fname->fsp, NULL, - smb_fname, names[i], &ea); if (!NT_STATUS_IS_OK(status)) { -- 2.34.1