mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: Don't NULL out "::$DATA"
Slight simplification now possible after introducing and using fsp_is_alternate_stream() almost everywhere. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 29 22:24:38 UTC 2022 on sn-devel-184
This commit is contained in:
parent
e41f8001f1
commit
825dcc6a13
@ -6256,7 +6256,6 @@ NTSTATUS create_file_default(connection_struct *conn,
|
||||
|
||||
if (is_ntfs_default_stream_smb_fname(smb_fname)) {
|
||||
int ret;
|
||||
smb_fname->stream_name = NULL;
|
||||
/* We have to handle this error here. */
|
||||
if (create_options & FILE_DIRECTORY_FILE) {
|
||||
status = NT_STATUS_NOT_A_DIRECTORY;
|
||||
|
Loading…
Reference in New Issue
Block a user