summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-06-09 13:08:43 +0200
committerRalph Boehme <slow@samba.org>2017-07-03 19:59:08 +0200
commit9c6550262394dca73b7f7c4bfa1038af8c866904 (patch)
tree64cb48d585817de2978f86608143a760b0ff3184
parent60e3e10e84983da073fcc539378ec50f88e9f41c (diff)
downloadsamba-9c6550262394dca73b7f7c4bfa1038af8c866904.tar.gz
s3/smbd: remove unused arg smb1req from copychunk_check_handles()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_ioctl_network_fs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/smb2_ioctl_network_fs.c b/source3/smbd/smb2_ioctl_network_fs.c
index b90a8b3fe11..fa3e42951ee 100644
--- a/source3/smbd/smb2_ioctl_network_fs.c
+++ b/source3/smbd/smb2_ioctl_network_fs.c
@@ -96,8 +96,7 @@ static void fsctl_srv_copychunk_vfs_done(struct tevent_req *subreq);
static NTSTATUS copychunk_check_handles(uint32_t ctl_code,
struct files_struct *src_fsp,
- struct files_struct *dst_fsp,
- struct smb_request *smb1req)
+ struct files_struct *dst_fsp)
{
/*
* [MS-SMB2] 3.3.5.15.6 Handling a Server-Side Data Copy Request
@@ -220,8 +219,7 @@ static struct tevent_req *fsctl_srv_copychunk_send(TALLOC_CTX *mem_ctx,
state->status = copychunk_check_handles(ctl_code,
state->src_fsp,
- state->dst_fsp,
- smb2req->smb1req);
+ state->dst_fsp);
if (!NT_STATUS_IS_OK(state->status)) {
tevent_req_nterror(req, state->status);
return tevent_req_post(req, ev);