mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[NTOSKRNL]
- Fix a bug in device removal which resulted in an IRP_MN_CANCEL_REMOVE_DEVICE request not being sent if the initial IRP_MN_QUERY_REMOVE_DEVICE failed svn path=/trunk/; revision=52066
This commit is contained in:
parent
69764dd21a
commit
2706c9b8b3
|
@ -4153,6 +4153,8 @@ IopPrepareDeviceForRemoval(IN PDEVICE_OBJECT DeviceObject)
|
|||
{
|
||||
DPRINT1("Removal vetoed by failing the query remove request\n");
|
||||
|
||||
IopCancelRemoveDevice(DeviceObject);
|
||||
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue