]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Add comment to unix_convert() explaining why posix never calls into mangle_...
authorJeremy Allison <jra@samba.org>
Fri, 15 Oct 2021 22:03:16 +0000 (15:03 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 16 Nov 2021 20:21:37 +0000 (20:21 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/filename.c

index e8ed21f5afda7661ac253e64536e4a54466eafd0..e34aa099264c35465e1a0ed3f002e66b1f98a971 100644 (file)
@@ -1260,6 +1260,9 @@ NTSTATUS unix_convert(TALLOC_CTX *mem_ctx,
                 * A special case - if we don't have any wildcards or mangling chars and are case
                 * sensitive or the underlying filesystem is case insensitive then searching
                 * won't help.
+                *
+                * NB. As POSIX sets state->case_sensitive as
+                * true we will never call into mangle_is_mangled() here.
                 */
 
                if ((state->case_sensitive || !(state->conn->fs_capabilities &