/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Dispatch function for SMB2_CANCEL
*/
#include <smbsrv/smb2_kproto.h>
static void smb2sr_cancel_async(smb_request_t *);
static void smb2sr_cancel_sync(smb_request_t *);
/*
* This handles an SMB2_CANCEL request when seen in the reader.
* (See smb2sr_newrq) Handle this immediately, rather than
* going through the normal taskq dispatch mechanism.
* Note that Cancel does NOT get a response.
*/
int
{
int rc;
/*
* Decode the header
*/
return (rc);
else
return (0);
}
static void
{
int cnt = 0;
while (req) {
cnt++;
}
}
if (cnt != 1) {
}
}
static void
{
int cnt = 0;
while (req) {
cnt++;
}
}
if (cnt != 1) {
}
}