Author: hbelusca
Date: Sun May 15 00:18:44 2016
New Revision: 71331

URL: http://svn.reactos.org/svn/reactos?rev=71331&view=rev
Log:
[NTOS][MUP]: Use the correct constant for the PriorityBoost parameter in the 
IoCompleteRequest calls.

Modified:
    trunk/reactos/drivers/filesystems/mup/mup.c
    trunk/reactos/ntoskrnl/fsrtl/notify.c

Modified: trunk/reactos/drivers/filesystems/mup/mup.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mup.c?rev=71331&r1=71330&r2=71331&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] Sun May 15 
00:18:44 2016
@@ -1715,7 +1715,7 @@
 Complete:
     /* In finally, complete the IRP for real! */
     MasterQueryContext->Irp->IoStatus.Status = Status;
-    IofCompleteRequest(MasterQueryContext->Irp, IO_DISK_INCREMENT);
+    IoCompleteRequest(MasterQueryContext->Irp, IO_DISK_INCREMENT);
 
     MasterQueryContext->Irp = NULL;
     MupFreeMasterQueryContext(MasterQueryContext);

Modified: trunk/reactos/ntoskrnl/fsrtl/notify.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/notify.c?rev=71331&r1=71330&r2=71331&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/notify.c       [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/notify.c       [iso-8859-1] Sun May 15 
00:18:44 2016
@@ -191,7 +191,7 @@
 
        /* Set appropriate status and complete */
        Irp->IoStatus.Status = STATUS_CANCELLED;
-       IofCompleteRequest(Irp, EVENT_INCREMENT);
+       IoCompleteRequest(Irp, IO_DISK_INCREMENT);
 
        /* If that notification isn't referenced any longer, drop it */
        if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))
@@ -384,7 +384,7 @@
 Completion:
     IoMarkIrpPending(Irp);
     Irp->IoStatus.Status = Status;
-    IoCompleteRequest(Irp, EVENT_INCREMENT);
+    IoCompleteRequest(Irp, IO_DISK_INCREMENT);
 }
 
 /*
@@ -794,7 +794,7 @@
         {
             IoMarkIrpPending(NotifyIrp);
             NotifyIrp->IoStatus.Status = STATUS_NOTIFY_CLEANUP;
-            IoCompleteRequest(NotifyIrp, EVENT_INCREMENT);
+            IoCompleteRequest(NotifyIrp, IO_DISK_INCREMENT);
             _SEH2_LEAVE;
         }
 
@@ -807,14 +807,14 @@
             {
                 IoMarkIrpPending(NotifyIrp);
                 NotifyIrp->IoStatus.Status = STATUS_NOTIFY_CLEANUP;
-                IoCompleteRequest(NotifyIrp, EVENT_INCREMENT);
+                IoCompleteRequest(NotifyIrp, IO_DISK_INCREMENT);
             }
             /* Or if it's about to be deleted, complete */
             else if (NotifyChange->Flags & DELETE_IN_PROCESS)
             {
                 IoMarkIrpPending(NotifyIrp);
                 NotifyIrp->IoStatus.Status = STATUS_DELETE_PENDING;
-                IoCompleteRequest(NotifyIrp, EVENT_INCREMENT);
+                IoCompleteRequest(NotifyIrp, IO_DISK_INCREMENT);
             }
             /* Complete now if asked to (and not asked to notify later on) */
             if ((NotifyChange->Flags & NOTIFY_IMMEDIATELY) && 
!(NotifyChange->Flags & NOTIFY_LATER))
@@ -822,7 +822,7 @@
                 NotifyChange->Flags &= ~NOTIFY_IMMEDIATELY;
                 IoMarkIrpPending(NotifyIrp);
                 NotifyIrp->IoStatus.Status = STATUS_NOTIFY_ENUM_DIR;
-                IoCompleteRequest(NotifyIrp, EVENT_INCREMENT);
+                IoCompleteRequest(NotifyIrp, IO_DISK_INCREMENT);
             }
             /* If no data yet, or asked to notify later on, handle */
             else if (NotifyChange->DataLength == 0 || (NotifyChange->Flags & 
NOTIFY_LATER))


Reply via email to