mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:06:17 +00:00
[NTOSKRNL]
Init event before passing it to the IRP. Fixes issues on IRP completion svn path=/trunk/; revision=63020
This commit is contained in:
parent
1a4b004293
commit
2f3b278836
1 changed files with 3 additions and 0 deletions
|
@ -662,6 +662,9 @@ IopGetFileInformation(IN PFILE_OBJECT FileObject,
|
|||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
}
|
||||
|
||||
/* Init event */
|
||||
KeInitializeEvent(&Event, SynchronizationEvent, FALSE);
|
||||
|
||||
/* Setup the IRP */
|
||||
Irp->UserIosb = &IoStatusBlock;
|
||||
Irp->UserEvent = &Event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue