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:
parent
702af7f85f
commit
b15c249757
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user