projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16419c
)
[NTOSKRNL]
author
Cameron Gutman
<aicommander@gmail.com>
Mon, 29 Mar 2010 02:59:44 +0000
(
02:59
+0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Mon, 29 Mar 2010 02:59:44 +0000
(
02:59
+0000)
- Set the IRP_SYNCHRONOUS_API flag on IRPs created by IoBuildSynchronousFsdRequest
svn path=/trunk/; revision=46550
reactos/ntoskrnl/io/iomgr/irp.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/iomgr/irp.c
b/reactos/ntoskrnl/io/iomgr/irp.c
index
0863f58
..
30107c1
100644
(file)
--- a/
reactos/ntoskrnl/io/iomgr/irp.c
+++ b/
reactos/ntoskrnl/io/iomgr/irp.c
@@
-966,9
+966,12
@@
IoBuildSynchronousFsdRequest(IN ULONG MajorFunction,
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);
return Irp;