mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CDFS_NEW] Bugfix for f88fe43
: don't delete devices twice on shutdown.
With that bugfix, I can install ROS from ISO on HDD without troubles :-) CORE-13184
This commit is contained in:
parent
cda5d7c843
commit
cbf0430b56
1 changed files with 9 additions and 3 deletions
|
@ -241,10 +241,16 @@ Return Value:
|
|||
|
||||
--*/
|
||||
{
|
||||
IoUnregisterFileSystem (DeviceObject);
|
||||
IoDeleteDevice (CdData.FileSystemDeviceObject);
|
||||
#ifdef __REACTOS__
|
||||
IoDeleteDevice (CdData.HddFileSystemDeviceObject);
|
||||
ASSERT(DeviceObject == CdData.FileSystemDeviceObject ||
|
||||
DeviceObject == CdData.HddFileSystemDeviceObject);
|
||||
#endif
|
||||
|
||||
IoUnregisterFileSystem (DeviceObject);
|
||||
#ifndef __REACTOS__
|
||||
IoDeleteDevice (CdData.FileSystemDeviceObject);
|
||||
#else
|
||||
IoDeleteDevice (DeviceObject);
|
||||
#endif
|
||||
|
||||
CdCompleteRequest( NULL, Irp, STATUS_SUCCESS );
|
||||
|
|
Loading…
Reference in a new issue