1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows Driver: Don't interact with the volume's filesystem if mount manager integration is disabled

This commit is contained in:
Mounir IDRASSI
2018-12-19 12:26:55 +01:00
parent 800f081f1c
commit 3290ef4f75

View File

@@ -3794,7 +3794,7 @@ NTSTATUS MountDevice (PDEVICE_OBJECT DeviceObject, MOUNT_STRUCT *mount)
mount->FilesystemDirty = FALSE; mount->FilesystemDirty = FALSE;
if (NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject))) if (mount->bMountManager && NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject)))
{ {
__try __try
{ {