Author: cgutman
Date: Mon Mar 29 04:59:44 2010
New Revision: 46550
URL:
http://svn.reactos.org/svn/reactos?rev=46550&view=rev
Log:
[NTOSKRNL]
- Set the IRP_SYNCHRONOUS_API flag on IRPs created by IoBuildSynchronousFsdRequest
Modified:
trunk/reactos/ntoskrnl/io/iomgr/irp.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irp.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] Mon Mar 29 04:59:44 2010
@@ -966,8 +966,11 @@
IoStatusBlock );
if (!Irp) return NULL;
- /* Set the Event which makes it Syncronous */
+ /* Associate the caller's event object with this IRP */
Irp->UserEvent = Event;
+
+ /* Set the synchronous flag */
+ Irp->Flags |= IRP_SYNCHRONOUS_API;
/* Sync IRPs are queued to requestor thread's irp cancel/cleanup list */
IoQueueThreadIrp(Irp);