1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: smbd: Flatten the check_path_syntax_smb2() wrapper.

Keep it, rather and move all SMB2 code to check_path_syntax()
as I want to keep SMB1/SMB2 code as separate as possible so
we can remove any SMB1 code path later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2023-03-28 11:03:59 -07:00 committed by Ralph Boehme
parent 874e10ef79
commit a8329d2536

View File

@ -245,12 +245,7 @@ NTSTATUS check_path_syntax_posix(char *path)
NTSTATUS check_path_syntax_smb2(char *path)
{
/*
* Now a simple wrapper around check_path_syntax().
* Leave it alone for now to keep things separate
* when we add SMB3+POSIX parsing.
*/
return check_path_syntax(path);
return check_path_syntax_internal(path, false);
}
/****************************************************************************