smbd: avoid a smb_fname copy in call_trans2setfilepathinfo()
commitc4d82a6b1f31d0601ad4670665cd3105b92f8524
authorRalph Boehme <slow@samba.org>
Tue, 17 Nov 2020 10:02:31 +0000 (17 11:02 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 19 Nov 2020 21:24:23 +0000 (19 21:24 +0000)
treed543b54a826c6012a97bd3cfee1ab0148241dfd5
parent458c24fccd86a26710db54589ab67ae60b345576
smbd: avoid a smb_fname copy in call_trans2setfilepathinfo()

There's no point in doing a copy here, we can just point smb_fname at
fsp->fsp_name.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 19 21:24:23 UTC 2020 on sn-devel-184
source3/smbd/trans2.c