[NTOS]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 15 Sep 2013 23:17:24 +0000 (23:17 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 15 Sep 2013 23:17:24 +0000 (23:17 +0000)
- Enable a call to ExAllocatePoolWithQuotaTag now that the function is implemented.
- Fix a typo.

svn path=/trunk/; revision=60157

reactos/ntoskrnl/io/iomgr/irp.c
reactos/ntoskrnl/mm/ARM3/expool.c

index ee6e3aa..609636e 100644 (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
         {
index 1192427..259cfa2 100644 (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)
     {