With that bugfix, I can install ROS from ISO on HDD without troubles :-)
CORE-13184
--*/
{
+#ifdef __REACTOS__
+ ASSERT(DeviceObject == CdData.FileSystemDeviceObject ||
+ DeviceObject == CdData.HddFileSystemDeviceObject);
+#endif
+
IoUnregisterFileSystem (DeviceObject);
+#ifndef __REACTOS__
IoDeleteDevice (CdData.FileSystemDeviceObject);
-#ifdef __REACTOS__
- IoDeleteDevice (CdData.HddFileSystemDeviceObject);
+#else
+ IoDeleteDevice (DeviceObject);
#endif
CdCompleteRequest( NULL, Irp, STATUS_SUCCESS );