Skip to content

Commit edfd876

Browse files
committed
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
1 parent 6aa9f2e commit edfd876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fpexiblkdrv/source/entry.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
13711371
}
13721372

13731373
if (InitedDevices == 0) {
1374-
ExiMapFinalise();
1374+
//ExiMapFinalise();
13751375
return STATUS_NO_SUCH_DEVICE;
13761376
}
13771377

@@ -1393,7 +1393,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
13931393
}
13941394

13951395
if (!MountedAtLeastOneDevice) {
1396-
ExiMapFinalise();
1396+
//ExiMapFinalise();
13971397
return STATUS_NO_SUCH_DEVICE;
13981398
}
13991399

@@ -1501,7 +1501,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
15011501
char path[4] = { '0' + drive, ':', 0, 0 };
15021502
f_unmount(path);
15031503
}
1504-
ExiMapFinalise();
1504+
//ExiMapFinalise();
15051505
// Return no such device.
15061506
return STATUS_NO_SUCH_DEVICE;
15071507
}

0 commit comments

Comments
 (0)