[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:
Pierre Schweitzer 2015-09-06 22:10:53 +00:00
parent e9b84c302b
commit 93ff988b19

View file

@ -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)