- Enable a call to ExAllocatePoolWithQuotaTag now that the function is implemented.
- Fix a typo.

svn path=/trunk/; revision=60157
This commit is contained in:
Hermès Bélusca-Maïto
2013-09-15 23:17:24 +00:00
parent aa7e029f28
commit b9fd07e579
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -591,9 +591,7 @@ IoAllocateIrp(IN CCHAR StackSize,
/* Check if we should charge quota */
if (ChargeQuota)
{
/* Irp = ExAllocatePoolWithQuotaTag(NonPagedPool, Size, TAG_IRP); */
/* FIXME */
Irp = ExAllocatePoolWithTag(NonPagedPool, Size, TAG_IRP);
Irp = ExAllocatePoolWithQuotaTag(NonPagedPool, Size, TAG_IRP);
}
else
{
+1 -1
View File
@@ -2518,7 +2518,7 @@ ExAllocatePoolWithQuotaTag(IN POOL_TYPE PoolType,
PEPROCESS Process = PsGetCurrentProcess();
//
// Check if we should fail intead of raising an exception
// Check if we should fail instead of raising an exception
//
if (PoolType & POOL_QUOTA_FAIL_INSTEAD_OF_RAISE)
{