summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 14:43:30 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 14:44:39 +0100
commitf87d08f6222f3e86b771c9c8ef669c1872118f6b (patch)
tree54717f07106f866501ab3853c27cf6c4e2ba0501
parentfe57c149f0916e895055e2a9faf5eac8724912fb (diff)
downloadsamba-f87d08f6222f3e86b771c9c8ef669c1872118f6b.tar.gz
samba-f87d08f6222f3e86b771c9c8ef669c1872118f6b.tar.bz2
samba-f87d08f6222f3e86b771c9c8ef669c1872118f6b.zip
Don't test split_ntfs_stream_name
This is a hot code path, and if it has a :, the name will be split later on anyway. (This used to be commit 9f7f6b812d89decea1456ccdc37978e645d11a63)
-rw-r--r--source3/smbd/reply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 61ec611b6b..5a5eb1e190 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -168,9 +168,6 @@ static NTSTATUS check_path_syntax_internal(char *path,
*d = '\0';
- if (NT_STATUS_IS_OK(ret) && !posix_path) {
- ret = split_ntfs_stream_name(NULL, path, NULL, NULL);
- }
return ret;
}