smbd: Factor out safe_symlink_target_path()
authorVolker Lendecke <vl@samba.org>
Tue, 25 Oct 2022 08:26:26 +0000 (10:26 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 22 Nov 2022 18:27:33 +0000 (18:27 +0000)
commitc14b8dc0aaf2d095498072367d2ddfc247a283fe
treed81f94a9155bfda4fccc427fc15a46c6bc8adff3
parentf71bdfbacbcc4753f1cf5a254194b93f9b29d775
smbd: Factor out safe_symlink_target_path()

Small refactoring to make filename_convert_dirfsp() itself a bit
shorter using a subroutine.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c