[NTFS] - Add some fixes and improvements to attribute.c from CR-123:
[reactos.git] / drivers / base / null / null.c
index 3ba9d18..610e886 100644 (file)
@@ -9,7 +9,7 @@
 
 /* INCLUDES ******************************************************************/
 
-#include <ntddk.h>
+#include <wdm.h>
 
 /* FUNCTIONS *****************************************************************/
 
@@ -183,7 +183,9 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
     DriverObject->MajorFunction[IRP_MJ_QUERY_INFORMATION] = NullDispatch;
 
     /* Allocate the fast I/O dispatch table */
-    FastIoDispatch = ExAllocatePool(NonPagedPool, sizeof(FAST_IO_DISPATCH));
+    FastIoDispatch = ExAllocatePoolWithTag(NonPagedPool,
+                                           sizeof(FAST_IO_DISPATCH),
+                                           'llun');
     if (!FastIoDispatch)
     {
         /* Failed, cleanup */