s3:smbd: let fsp_smb_fname_link() set both sides of the link
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Dec 2020 13:03:36 +0000 (14:03 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Jan 2021 11:30:38 +0000 (11:30 +0000)
commit932c27e290ead0c2a98c57f2a9649aaf51d7233b
tree3044a57e02fef32628cdadcffe8a7f9616d55805
parent3fdfb79a12bf21eb661a8dea00f46bf944ea9df0
s3:smbd: let fsp_smb_fname_link() set both sides of the link

We also need to be sure both sides were not linked before.

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