smbd: Simplify filename_convert_dirfsp()
commitbd30c9c128c203c3ed4b123b651862a9953f6cf2
authorVolker Lendecke <vl@samba.org>
Tue, 8 Oct 2024 13:51:06 +0000 (8 15:51 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (12 18:07 +0000)
tree6b77ce8818ce990b813c5b06914269fe8e43c273
parent3ab6a9a9bf2cadee2930a3a4bf0685c901a7ee5d
smbd: Simplify filename_convert_dirfsp()

If we do the S_ISLNK check in the lower level, the if-condition is
simpler and we get the close_file_free() call for free.

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