git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee4afd5
)
s3/modules: streams_xattr: Fix fname passed to SETXATTR
author
Noel Power
<noel.power@suse.com>
Thu, 18 Feb 2021 19:34:15 +0000
(19:34 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 11 Mar 2021 17:50:30 +0000
(17:50 +0000)
we see to be overwritting the 'old' stream, this change fixes it
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_streams_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index c0503b246505b7bda95da421c36f6cddfebadf8d..8660680dbc1e05ea601ea08c1e55f3d80a69ce40 100644
(file)
--- a/
source3/modules/vfs_streams_xattr.c
+++ b/
source3/modules/vfs_streams_xattr.c
@@
-639,7
+639,7
@@
static int streams_xattr_renameat(vfs_handle_struct *handle,
}
/* (over)write the new stream */
- nret = SMB_VFS_SETXATTR(handle->conn, smb_fname_
src
,
+ nret = SMB_VFS_SETXATTR(handle->conn, smb_fname_
dst
,
dst_xattr_name, ea.value.data, ea.value.length,
0);
if (nret < 0) {