Major refactoring: testing

This commit is contained in:
Bill Zissimopoulos
2015-12-27 22:08:56 -08:00
parent 5fb9953a3a
commit 6d2a56cea0
3 changed files with 7 additions and 5 deletions

View File

@ -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;
}