summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/smb2_notify.c')
-rw-r--r--source3/smbd/smb2_notify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c
index 7b92927864..573635b89d 100644
--- a/source3/smbd/smb2_notify.c
+++ b/source3/smbd/smb2_notify.c
@@ -321,6 +321,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx,
/* allow this request to be canceled */
tevent_req_set_cancel_fn(req, smbd_smb2_notify_cancel);
+ SMBPROFILE_IOBYTES_ASYNC_SET_IDLE(state->smb2req->profile);
return req;
}
@@ -337,6 +338,8 @@ static void smbd_smb2_notify_reply(struct smb_request *smbreq,
return;
}
+ SMBPROFILE_IOBYTES_ASYNC_SET_BUSY(state->smb2req->profile);
+
state->status = error_code;
if (!NT_STATUS_IS_OK(error_code)) {
/* nothing */