From 147183e24a669dc97315bb21cfef62fea3484d1e Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 18 Feb 2021 17:04:24 +0000 Subject: [PATCH] streams_xattr_openat 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 58ddacdb62d..632fc2cff0b 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -441,8 +441,7 @@ static int streams_xattr_openat(struct vfs_handle_struct *handle, DEBUG(10, ("creating or truncating attribute %s on file %s\n", xattr_name, smb_fname->base_name)); - ret = SMB_VFS_SETXATTR(fsp->conn, - smb_fname, + ret = SMB_VFS_FSETXATTR(fsp->base_fsp ? fsp->base_fsp : fsp, xattr_name, &null, sizeof(null), flags & O_EXCL ? XATTR_CREATE : 0); -- 2.47.3