mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
NT_STATUS_OBJECT_NAME_NOT_FOUND also means "no streams around :-)"
(This used to be commit 96b9a7b3eb
)
This commit is contained in:
parent
f87d08f622
commit
896ec68181
@ -2464,7 +2464,8 @@ static NTSTATUS open_streams_for_delete(connection_struct *conn,
|
||||
status = SMB_VFS_STREAMINFO(conn, NULL, fname, talloc_tos(),
|
||||
&num_streams, &stream_info);
|
||||
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)
|
||||
|| NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
|
||||
DEBUG(10, ("no streams around\n"));
|
||||
TALLOC_FREE(frame);
|
||||
return NT_STATUS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user