git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7f6b8
)
NT_STATUS_OBJECT_NAME_NOT_FOUND also means "no streams around :-)"
author
Volker Lendecke
<vl@samba.org>
Sun, 20 Jan 2008 13:44:07 +0000
(14:44 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 20 Jan 2008 13:44:39 +0000
(14:44 +0100)
source/smbd/open.c
patch
|
blob
|
history
diff --git
a/source/smbd/open.c
b/source/smbd/open.c
index ad221c3227d0eedb4307c5729358746a20f4d8a4..f55728665fb1e25351dc69f221b2be3902c5702a 100644
(file)
--- a/
source/smbd/open.c
+++ b/
source/smbd/open.c
@@
-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;