From 0b0ac41aeafa358436efcd5801da3130d21e8c80 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 31 Oct 2014 11:15:50 +0100 Subject: s3:smb2_server: use async smbprofile macros This improves profiling and corrently counts the total and idle time for async requests. Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/smbd/smb2_create.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/smb2_create.c') diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 48bc48674c..31dc3ac223 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -957,6 +957,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, &info); if (!NT_STATUS_IS_OK(status)) { if (open_was_deferred(smb1req->xconn, smb1req->mid)) { + SMBPROFILE_IOBYTES_ASYNC_SET_IDLE(smb2req->profile); return req; } tevent_req_nterror(req, status); -- cgit