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:
@@ -3794,7 +3794,7 @@ NTSTATUS MountDevice (PDEVICE_OBJECT DeviceObject, MOUNT_STRUCT *mount)
|
||||
|
||||
mount->FilesystemDirty = FALSE;
|
||||
|
||||
if (NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject)))
|
||||
if (mount->bMountManager && NT_SUCCESS (TCOpenFsVolume (NewExtension, &volumeHandle, &volumeFileObject)))
|
||||
{
|
||||
__try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user