smbd: Simplify openat_pathref_fsp()
commit8420f62c01a2c3bf066652b3477f4c1ee08d5ae5
authorVolker Lendecke <vl@samba.org>
Mon, 13 Jun 2022 15:50:32 +0000 (13 17:50 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 25 Jul 2022 12:04:33 +0000 (25 12:04 +0000)
tree068308c1b830ac7278fcd463c4353832bfe7dd75
parent7295377a41c0945043bce5931cde6929a53f5909
smbd: Simplify openat_pathref_fsp()

Remove the implicit recursion

openat_pathref_fsp->openat_pathref_base_fsp->openat_pathref_fsp

by introducing openat_pathref_nostream() and use
open_stream_pathref_fsp() where possible. openat_pathref_nostream()
will change its name in further refactoring patches, but for
understanding this patch I think this name is good :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/files.c