From: Aleksey Bragin Date: Mon, 29 Mar 2010 08:51:12 +0000 (+0000) Subject: [NTOSKRNL] X-Git-Tag: backups/header-work@57446~68^2~76 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=09ab0eb733787543f632fa47e43655c963c51ac4;ds=sidebyside [NTOSKRNL] . Revert 46550: Windows does not set this flag. ReactOS shouldn't either. Setting UserEvent is already enough in this case. svn path=/trunk/; revision=46563 --- diff --git a/reactos/ntoskrnl/io/iomgr/irp.c b/reactos/ntoskrnl/io/iomgr/irp.c index 30107c16949..0863f58907b 100644 --- a/reactos/ntoskrnl/io/iomgr/irp.c +++ b/reactos/ntoskrnl/io/iomgr/irp.c @@ -966,12 +966,9 @@ IoBuildSynchronousFsdRequest(IN ULONG MajorFunction, IoStatusBlock ); if (!Irp) return NULL; - /* Associate the caller's event object with this IRP */ + /* Set the Event which makes it Syncronous */ 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); return Irp;