mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[NTOS]
- Enable a call to ExAllocatePoolWithQuotaTag now that the function is implemented. - Fix a typo. svn path=/trunk/; revision=60157
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user