s3:smbd: let openat_pathref_dirfsp_nosymlink() handle ELOOP similar to ENOTDIR
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Aug 2022 17:12:44 +0000 (19:12 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 15 Aug 2022 15:03:37 +0000 (15:03 +0000)
commit35b99c87ef92df006f8b0a41bbea051f0faeadb9
tree7c15b651f224ff9ccc225a6693cf5060cfb28af2
parent17484d069b92d08b0228fb509ea42ab4c3f496a8
s3:smbd: let openat_pathref_dirfsp_nosymlink() handle ELOOP similar to ENOTDIR

This is no likely to happen as we use O_NOFOLLOW with O_DIRECTORY,
but it's better to be prepared...

This will be more important in the upcoming openat2(RESOLVE_NO_SYMLINK)
case, but we should be consitent...

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