s3:smbd: let openat_pathref_dirfsp_nosymlink() try VFS_OPEN_HOW_RESOLVE_NO_SYMLINKS...
commitd6653067b20e61af1f05423764c8486a1a5445c8
authorVolker Lendecke <vl@samba.org>
Thu, 14 Jul 2022 17:44:04 +0000 (14 19:44 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 15 Aug 2022 15:03:37 +0000 (15 15:03 +0000)
tree2bfd86658485acfe9a4723584e9993c7317e617d
parent35b99c87ef92df006f8b0a41bbea051f0faeadb9
s3:smbd: let openat_pathref_dirfsp_nosymlink() try VFS_OPEN_HOW_RESOLVE_NO_SYMLINKS first

This will reduce the amount of syscalls and the related cost drastically
for long path names.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/files.c