summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 14:44:07 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 14:44:39 +0100
commit896ec681816b38d85e3dfbb45e9df8993de42899 (patch)
treefdb0ff130ae8fb9415c6a863d8e54f8913ecc18b /source3/smbd
parentf87d08f6222f3e86b771c9c8ef669c1872118f6b (diff)
downloadsamba-896ec681816b38d85e3dfbb45e9df8993de42899.tar.gz
samba-896ec681816b38d85e3dfbb45e9df8993de42899.tar.bz2
samba-896ec681816b38d85e3dfbb45e9df8993de42899.zip
NT_STATUS_OBJECT_NAME_NOT_FOUND also means "no streams around :-)"
(This used to be commit 96b9a7b3eb92c9f133a3f43ffc4d57d0212e4ebd)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index ad221c3227..f55728665f 100644
--- a/source3/smbd/open.c
+++ b/source3/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;