[NTOS][MUP]: Use the correct constant for the PriorityBoost parameter in the IoCompleteRequest calls.

svn path=/trunk/; revision=71331
This commit is contained in:
Hermès Bélusca-Maïto 2016-05-15 00:18:44 +00:00
parent a8924f81c4
commit d74b93c5eb
2 changed files with 7 additions and 7 deletions

View file

@ -1715,7 +1715,7 @@ MupDereferenceMasterQueryContext(PMUP_MQC MasterQueryContext)
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);

View file

@ -191,7 +191,7 @@ FsRtlCancelNotify(IN PDEVICE_OBJECT DeviceObject,
/* 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 @@ ReleaseAndComplete:
Completion:
IoMarkIrpPending(Irp);
Irp->IoStatus.Status = Status;
IoCompleteRequest(Irp, EVENT_INCREMENT);
IoCompleteRequest(Irp, IO_DISK_INCREMENT);
}
/*
@ -794,7 +794,7 @@ FsRtlNotifyFilterChangeDirectory(IN PNOTIFY_SYNC NotifySync,
{
IoMarkIrpPending(NotifyIrp);
NotifyIrp->IoStatus.Status = STATUS_NOTIFY_CLEANUP;
IoCompleteRequest(NotifyIrp, EVENT_INCREMENT);
IoCompleteRequest(NotifyIrp, IO_DISK_INCREMENT);
_SEH2_LEAVE;
}
@ -807,14 +807,14 @@ FsRtlNotifyFilterChangeDirectory(IN PNOTIFY_SYNC NotifySync,
{
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 @@ FsRtlNotifyFilterChangeDirectory(IN PNOTIFY_SYNC NotifySync,
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))