diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/globals.h | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_create.c | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_lock.c | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_notify.c | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_read.c | 2 | ||||
-rw-r--r-- | source3/smbd/smb2_write.c | 2 |
6 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 9bc6b175b5..107d338337 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -466,7 +466,6 @@ struct smbd_smb2_request { bool do_signing; bool do_encryption; struct tevent_timer *async_te; - bool cancelled; bool compound_related; /* diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index e188c9fa5c..9318a83f48 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -1412,7 +1412,6 @@ static bool smbd_smb2_create_cancel(struct tevent_req *req) remove_deferred_open_entry(state->id, mid, messaging_server_id(smb2req->sconn->msg_ctx)); remove_deferred_open_message_smb2_internal(smb2req, mid); - smb2req->cancelled = true; tevent_req_defer_callback(req, smb2req->sconn->ev_ctx); tevent_req_nterror(req, NT_STATUS_CANCELLED); diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c index d29ecec867..e2ea2512c6 100644 --- a/source3/smbd/smb2_lock.c +++ b/source3/smbd/smb2_lock.c @@ -380,7 +380,6 @@ static bool smbd_smb2_lock_cancel(struct tevent_req *req) } smb2req = state->smb2req; - smb2req->cancelled = true; remove_pending_lock(state, state->blr); tevent_req_defer_callback(req, smb2req->sconn->ev_ctx); diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 638e01ad7b..81aa6152cc 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -308,7 +308,6 @@ static bool smbd_smb2_notify_cancel(struct tevent_req *req) struct smbd_smb2_notify_state *state = tevent_req_data(req, struct smbd_smb2_notify_state); - state->smb2req->cancelled = true; smbd_notify_cancel_by_smbreq(state->smbreq); return true; diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c index e0c615a9c3..2890f86745 100644 --- a/source3/smbd/smb2_read.c +++ b/source3/smbd/smb2_read.c @@ -363,8 +363,6 @@ static bool smbd_smb2_read_cancel(struct tevent_req *req) tevent_req_data(req, struct smbd_smb2_read_state); - state->smb2req->cancelled = true; - return cancel_smb2_aio(state->smbreq); } diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index 03998caba1..f9cfbfcf05 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -236,8 +236,6 @@ static bool smbd_smb2_write_cancel(struct tevent_req *req) tevent_req_data(req, struct smbd_smb2_write_state); - state->smb2req->cancelled = true; - return cancel_smb2_aio(state->smbreq); } |