char **_newname,
bool *overwrite,
struct files_struct **_dst_dirfsp,
- struct smb_filename **_smb_fname_dst,
- char **_dst_original_lcomp);
+ struct smb_filename **_smb_fname_dst);
/* The following definitions come from smbd/uid.c */
struct files_struct *fsp = state->fsp;
struct files_struct *dst_dirfsp = NULL;
struct smb_filename *smb_fname_dst = NULL;
- char *dst_original_lcomp = NULL;
bool has_other_open;
NTSTATUS status;
NTSTATUS close_status;
&newname,
&overwrite,
&dst_dirfsp,
- &smb_fname_dst,
- &dst_original_lcomp);
+ &smb_fname_dst);
if (tevent_req_nterror(req, status)) {
return;
}
- TALLOC_FREE(dst_original_lcomp);
if (!VALID_STAT(smb_fname_dst->st)) {
/* Doesn't exist, nothing to do here */
struct files_struct *fsp = state->fsp;
struct files_struct *dst_parent_dirfsp = NULL;
struct smb_filename *smb_fname_dst = NULL;
- char *dst_original_lcomp = NULL;
NTSTATUS status;
if (state->rename_dst_parent_check_done) {
&newname,
&overwrite,
&dst_parent_dirfsp,
- &smb_fname_dst,
- &dst_original_lcomp);
+ &smb_fname_dst);
if (tevent_req_nterror(req, status)) {
return;
}
char **_newname,
bool *_overwrite,
struct files_struct **_dst_dirfsp,
- struct smb_filename **_smb_fname_dst,
- char **_dst_original_lcomp)
+ struct smb_filename **_smb_fname_dst)
{
char *newname = NULL;
struct files_struct *dst_dirfsp = NULL;
*_overwrite = overwrite;
*_dst_dirfsp = dst_dirfsp;
*_smb_fname_dst = smb_fname_dst;
- *_dst_original_lcomp = dst_original_lcomp;
return NT_STATUS_OK;
}
struct smb_filename *smb_fname_src_rel = NULL;
struct files_struct *dst_dirfsp = NULL;
struct smb_filename *smb_fname_dst = NULL;
- char *dst_original_lcomp = NULL;
NTSTATUS status = NT_STATUS_OK;
TALLOC_CTX *ctx = talloc_tos();
&newname,
&overwrite,
&dst_dirfsp,
- &smb_fname_dst,
- &dst_original_lcomp);
+ &smb_fname_dst);
if (!NT_STATUS_IS_OK(status)) {
return status;
}