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:
702af7f
)
vfs: streams_xattr uses fsetxattr by now, remove an assert
author
Volker Lendecke
<vl@samba.org>
Thu, 31 Mar 2022 15:49:06 +0000
(17:49 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 1 Apr 2022 20:19:29 +0000
(20:19 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
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 9f7dc0a2c505e9357a8b37eaec7d611ca63b49c6..324490354b0de6048fa0598609eeba28869e4cbf 100644
(file)
--- a/
source3/modules/vfs_streams_xattr.c
+++ b/
source3/modules/vfs_streams_xattr.c
@@
-345,11
+345,6
@@
static int streams_xattr_openat(struct vfs_handle_struct *handle,
SMB_ASSERT(fsp_is_alternate_stream(fsp));
- /*
- * For now assert this, so the below SMB_VFS_SETXATTR() works.
- */
- SMB_ASSERT(fsp_get_pathref_fd(dirfsp) == AT_FDCWD);
-
status = streams_xattr_get_name(handle, talloc_tos(),
smb_fname->stream_name, &xattr_name);
if (!NT_STATUS_IS_OK(status)) {