smbd: Factor out filename_convert_dirfsp_rel()
commit0fc8d8bfc563b7568a4cd75355785c5783344c5b
authorVolker Lendecke <vl@samba.org>
Fri, 11 Oct 2024 09:58:51 +0000 (11 11:58 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (12 18:07 +0000)
treeab611e89a8d1210315a966327aa20f0ffa5db958
parent99fa20b418fac0f1fa1571a4bd1ad50757e822a1
smbd: Factor out filename_convert_dirfsp_rel()

Soon we'll have a caller that needs the last component as a relative
file name. Make sure it does not have to call get_lcomp or so.

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