mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +00:00
[NTOSKRNL]
Fix a bug in HalpGetFullGeometry(): properly reset the event before reusing it. We may have waited on it previously. svn path=/trunk/; revision=69074
This commit is contained in:
parent
e9b84c302b
commit
93ff988b19
|
@ -1010,6 +1010,9 @@ HalpGetFullGeometry(IN PDEVICE_OBJECT DeviceObject,
|
|||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
}
|
||||
|
||||
/* Reset event */
|
||||
KeResetEvent(Event);
|
||||
|
||||
/* Call the driver and check if it's pending */
|
||||
Status = IoCallDriver(DeviceObject, Irp);
|
||||
if (Status == STATUS_PENDING)
|
||||
|
|
Loading…
Reference in a new issue