summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
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
commit9f7f6b812d89decea1456ccdc37978e645d11a63 (patch)
tree066833ea9d662f81e31beb0dea0a95ab10f7ffb5 /source/smbd/reply.c
parent023b313d0d4ed3beb8d77177bc8141cadeb86658 (diff)
downloadsamba-9f7f6b812d89decea1456ccdc37978e645d11a63.tar.gz
samba-9f7f6b812d89decea1456ccdc37978e645d11a63.tar.xz
samba-9f7f6b812d89decea1456ccdc37978e645d11a63.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.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 61ec611b6b5..5a5eb1e190b 100644
--- a/source/smbd/reply.c
+++ b/source/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;
}