smbd: Move smb_set_file_unix_link() to smb1_trans2.c
commit5273c1da12a2e8e1f34abdbe13051c6de7945900
authorVolker Lendecke <vl@samba.org>
Thu, 29 Dec 2022 09:44:33 +0000 (29 10:44 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 4 Jan 2023 08:54:32 +0000 (4 08:54 +0000)
tree9271386a6973c79fc6cb22826065d89dec7de884
parentcabef7246977b19398affb0a323e22b0062c8dac
smbd: Move smb_set_file_unix_link() to smb1_trans2.c

Most of this is direct cut&paste without reformatting.

Don't pass SMB_SET_FILE_UNIX_LINK through smbd_do_setfilepathinfo(),
directly handle it in call_trans2setpathinfo() where we know we have a
path.

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