From c02cdcd5fb9c0a79bcefa7dbe4e07c407ff8052a Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 18 Feb 2021 18:14:16 +0000 Subject: [PATCH] s3/modules: streams_xattr_pwrite SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- source3/modules/vfs_streams_xattr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index 632fc2cff0b..9654f8d99ef 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -968,8 +968,7 @@ static ssize_t streams_xattr_pwrite(vfs_handle_struct *handle, memcpy(ea.value.data + offset, data, n); - ret = SMB_VFS_SETXATTR(fsp->conn, - fsp->fsp_name, + ret = SMB_VFS_FSETXATTR(fsp->base_fsp ? fsp->base_fsp : fsp, sio->xattr_name, ea.value.data, ea.value.length, 0); TALLOC_FREE(ea.value.data); -- 2.47.3