1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-06-21 20:12:33 -05:00

sys: oplock testing

This commit is contained in:
Bill Zissimopoulos
2016-11-14 20:36:51 -08:00
parent 6a48087d5f
commit 959d8537c6
6 changed files with 37 additions and 22 deletions
+4
View File
@@ -93,6 +93,9 @@ NTSTATUS FspWqCreateAndPostIrpWorkItem(PIRP Irp,
ExInitializeWorkItem(&RequestWorkItem->WorkQueueItem, FspWqWorkRoutine, Irp);
}
ASSERT(RequestFini == ((FSP_FSCTL_TRANSACT_REQ_HEADER *)
((PUINT8)Request - sizeof(FSP_FSCTL_TRANSACT_REQ_HEADER)))->RequestFini);
if (!CreateAndPost)
return STATUS_SUCCESS;
@@ -117,6 +120,7 @@ VOID FspWqPostIrpWorkItem(PIRP Irp)
case IRP_MJ_WRITE:
case IRP_MJ_DIRECTORY_CONTROL:
case IRP_MJ_LOCK_CONTROL:
break;
default:
ASSERT(0);
break;