Don't test split_ntfs_stream_name
authorVolker Lendecke <vl@samba.org>
Sun, 20 Jan 2008 13:43:30 +0000 (14:43 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 20 Jan 2008 13:44:39 +0000 (14:44 +0100)
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)

source3/smbd/reply.c

index 61ec611b6b5f6b83b3b4559370242d53735e2a38..5a5eb1e190bb75d134fe00dd3bf136c992a064da 100644 (file)
@@ -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;
 }