From: Noel Power Date: Thu, 18 Feb 2021 18:14:16 +0000 (+0000) Subject: s3/modules: streams_xattr_pwrite SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR X-Git-Tag: tevent-0.11.0~1583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c02cdcd5fb9c0a79bcefa7dbe4e07c407ff8052a;p=thirdparty%2Fsamba.git s3/modules: streams_xattr_pwrite SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR Signed-off-by: Noel Power Reviewed-by: Jeremy Allison --- 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);