From d60f049eaf30d7a717291b2f295cc889efc7afa9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 Aug 2009 10:01:38 +0200 Subject: s3:smbd: implement SMB2 Cancel correctly. metze --- source3/smbd/smb2_getinfo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source3/smbd/smb2_getinfo.c') diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index 1c247d7a0c..3b50ab9cd7 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -114,11 +114,7 @@ NTSTATUS smbd_smb2_request_process_getinfo(struct smbd_smb2_request *req) } tevent_req_set_callback(subreq, smbd_smb2_request_getinfo_done, req); - if (tevent_req_is_in_progress(subreq)) { - return smbd_smb2_request_pending_queue(req); - } - - return NT_STATUS_OK; + return smbd_smb2_request_pending_queue(req, subreq); } static void smbd_smb2_request_getinfo_done(struct tevent_req *subreq) -- cgit