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
}
info_level = SVAL(params,2);
- smb_fname = cp_smb_filename(talloc_tos(), fsp->fsp_name);
- if (smb_fname == NULL) {
- reply_nterror(req, NT_STATUS_NO_MEMORY);
- return;
- }
+ smb_fname = fsp->fsp_name;
if(fsp->fh->fd == -1) {
/*