projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b84c3
)
[NTOSKRNL]
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 6 Sep 2015 22:10:53 +0000
(22:10 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 6 Sep 2015 22:10:53 +0000
(22:10 +0000)
Fix a bug in HalpGetFullGeometry(): properly reset the event before reusing it. We may have waited on it previously.
svn path=/trunk/; revision=69074
reactos/ntoskrnl/fstub/disksup.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/fstub/disksup.c
b/reactos/ntoskrnl/fstub/disksup.c
index
e82e82a
..
d5b6108
100644
(file)
--- a/
reactos/ntoskrnl/fstub/disksup.c
+++ b/
reactos/ntoskrnl/fstub/disksup.c
@@
-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)