summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2021-02-18 18:14:16 +0000
committerJeremy Allison <jra@samba.org>2021-03-11 17:50:30 +0000
commitc02cdcd5fb9c0a79bcefa7dbe4e07c407ff8052a (patch)
treec8a6829b83912ff78caeb145787cf07039fd6150 /source3
parent147183e24a669dc97315bb21cfef62fea3484d1e (diff)
downloadsamba-c02cdcd5fb9c0a79bcefa7dbe4e07c407ff8052a.tar.gz
s3/modules: streams_xattr_pwrite SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_streams_xattr.c3
1 files changed, 1 insertions, 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);