mirror of
https://github.com/Wack0/entii-for-workcubes.git
synced 2025-12-19 18:06:24 -05:00
fpexiblk: not using eximap for now, so don't try to finalise it on sad paths
this is probably what's causing bugchecks when no exi device is present
This commit is contained in:
@@ -1371,7 +1371,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||
}
|
||||
|
||||
if (InitedDevices == 0) {
|
||||
ExiMapFinalise();
|
||||
//ExiMapFinalise();
|
||||
return STATUS_NO_SUCH_DEVICE;
|
||||
}
|
||||
|
||||
@@ -1393,7 +1393,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||
}
|
||||
|
||||
if (!MountedAtLeastOneDevice) {
|
||||
ExiMapFinalise();
|
||||
//ExiMapFinalise();
|
||||
return STATUS_NO_SUCH_DEVICE;
|
||||
}
|
||||
|
||||
@@ -1501,7 +1501,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||
char path[4] = { '0' + drive, ':', 0, 0 };
|
||||
f_unmount(path);
|
||||
}
|
||||
ExiMapFinalise();
|
||||
//ExiMapFinalise();
|
||||
// Return no such device.
|
||||
return STATUS_NO_SUCH_DEVICE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user