From: Noel Power Date: Thu, 18 Feb 2021 17:04:24 +0000 (+0000) Subject: streams_xattr_openat SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR X-Git-Tag: tevent-0.11.0~1584 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=147183e24a669dc97315bb21cfef62fea3484d1e;p=thirdparty%2Fsamba.git streams_xattr_openat 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 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);