mirror of
https://github.com/samba-team/samba.git
synced 2025-10-31 12:23:52 +03:00
r3528: added support for the SMBntcancel() operation, which cancels any
outstanding async operation (triggering an immediate timeout). pvfs now passes the RAW-MUX test
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d264aacfd5
commit
3423e2f414
@@ -519,6 +519,15 @@ static NTSTATUS ipc_async_setup(struct ntvfs_module_context *ntvfs,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
cancel an async call
|
||||
*/
|
||||
static NTSTATUS ipc_cancel(struct ntvfs_module_context *ntvfs,
|
||||
struct smbsrv_request *req)
|
||||
{
|
||||
return NT_STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
/*
|
||||
lock a byte range
|
||||
*/
|
||||
@@ -744,6 +753,7 @@ NTSTATUS ntvfs_ipc_init(void)
|
||||
ops.trans = ipc_trans;
|
||||
ops.logoff = ipc_logoff;
|
||||
ops.async_setup = ipc_async_setup;
|
||||
ops.cancel = ipc_cancel;
|
||||
|
||||
/* register ourselves with the NTVFS subsystem. */
|
||||
ret = register_backend("ntvfs", &ops);
|
||||
|
||||
Reference in New Issue
Block a user