Author: pschweitzer
Date: Sun Sep  6 22:10:53 2015
New Revision: 69074

URL: http://svn.reactos.org/svn/reactos?rev=69074&view=rev
Log:
[NTOSKRNL]
Fix a bug in HalpGetFullGeometry(): properly reset the event before reusing it. 
We may have waited on it previously.

Modified:
    trunk/reactos/ntoskrnl/fstub/disksup.c

Modified: trunk/reactos/ntoskrnl/fstub/disksup.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fstub/disksup.c?rev=69074&r1=69073&r2=69074&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/fstub/disksup.c      [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fstub/disksup.c      [iso-8859-1] Sun Sep  6 
22:10:53 2015
@@ -1009,6 +1009,9 @@
             ExFreePoolWithTag(Event, TAG_FILE_SYSTEM);
             return STATUS_INSUFFICIENT_RESOURCES;
         }
+
+        /* Reset event */
+        KeResetEvent(Event);
 
         /* Call the driver and check if it's pending */
         Status = IoCallDriver(DeviceObject, Irp);


Reply via email to