mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
Major refactoring: testing
This commit is contained in:
@ -209,7 +209,9 @@ NTSTATUS FspIoqCreate(
|
||||
{
|
||||
ASSERT(0 != CompleteCanceledIrp);
|
||||
|
||||
ULONG BucketCount = IrpCapacity / 2;
|
||||
*PIoq = 0;
|
||||
|
||||
ULONG BucketCount = IrpCapacity / 3;
|
||||
FSP_IOQ *Ioq = FspAllocNonPaged(
|
||||
sizeof *Ioq + sizeof Ioq->ProcessIrpDictBuckets[0] * BucketCount);
|
||||
if (0 == Ioq)
|
||||
@ -240,6 +242,8 @@ NTSTATUS FspIoqCreate(
|
||||
Ioq->PendingIrpCapacity = IrpCapacity;
|
||||
Ioq->CompleteCanceledIrp = CompleteCanceledIrp;
|
||||
|
||||
*PIoq = Ioq;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user