1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

vfs: streams_xattr uses fsetxattr by now, remove an assert

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-03-31 17:49:06 +02:00 committed by Jeremy Allison
parent 702af7f85f
commit b15c249757

View File

@ -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)) {