mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
smbd: Remove unused "msg_ctx" from smbd_smb1_do_locks_send()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f952967e58
commit
ce3666fb83
@ -115,7 +115,6 @@ static bool smbd_smb1_fsp_add_blocked_lock_req(
|
||||
|
||||
struct smbd_smb1_do_locks_state {
|
||||
struct tevent_context *ev;
|
||||
struct messaging_context *msg_ctx;
|
||||
struct smb_request *smbreq;
|
||||
struct files_struct *fsp;
|
||||
struct timeval endtime;
|
||||
@ -133,7 +132,6 @@ static void smbd_smb1_blocked_locks_cleanup(
|
||||
struct tevent_req *smbd_smb1_do_locks_send(
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct smb_request **smbreq, /* talloc_move()d into our state */
|
||||
struct files_struct *fsp,
|
||||
uint32_t timeout,
|
||||
@ -157,7 +155,6 @@ struct tevent_req *smbd_smb1_do_locks_send(
|
||||
return NULL;
|
||||
}
|
||||
state->ev = ev;
|
||||
state->msg_ctx = msg_ctx;
|
||||
state->smbreq = talloc_move(state, smbreq);
|
||||
state->fsp = fsp;
|
||||
state->large_offset = large_offset;
|
||||
|
@ -108,7 +108,6 @@ NTSTATUS smbd_do_locks_try(
|
||||
struct tevent_req *smbd_smb1_do_locks_send(
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct tevent_context *ev,
|
||||
struct messaging_context *msg_ctx,
|
||||
struct smb_request **smbreq, /* talloc_move()d into our state */
|
||||
struct files_struct *fsp,
|
||||
uint32_t timeout,
|
||||
|
@ -3796,7 +3796,6 @@ void reply_lockread(struct smb_request *req)
|
||||
subreq = smbd_smb1_do_locks_send(
|
||||
fsp,
|
||||
req->sconn->ev_ctx,
|
||||
req->sconn->msg_ctx,
|
||||
&req,
|
||||
fsp,
|
||||
0,
|
||||
@ -5725,7 +5724,6 @@ void reply_lock(struct smb_request *req)
|
||||
subreq = smbd_smb1_do_locks_send(
|
||||
fsp,
|
||||
req->sconn->ev_ctx,
|
||||
req->sconn->msg_ctx,
|
||||
&req,
|
||||
fsp,
|
||||
0,
|
||||
@ -8480,7 +8478,6 @@ void reply_lockingX(struct smb_request *req)
|
||||
subreq = smbd_smb1_do_locks_send(
|
||||
fsp,
|
||||
req->sconn->ev_ctx,
|
||||
req->sconn->msg_ctx,
|
||||
&req,
|
||||
fsp,
|
||||
lock_timeout,
|
||||
|
@ -7579,7 +7579,6 @@ static NTSTATUS smb_set_posix_lock(connection_struct *conn,
|
||||
subreq = smbd_smb1_do_locks_send(
|
||||
fsp,
|
||||
req->sconn->ev_ctx,
|
||||
req->sconn->msg_ctx,
|
||||
&req,
|
||||
fsp,
|
||||
blocking_lock ? UINT32_MAX : 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user