mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-08 09:36:35 -05:00
Windows Driver: if saving volume header fails, don't mark operation as successful so that it will be retried later.
This commit is contained in:
1 parent
ae7ec4802a
commit
8518d55834
1 file changed
+3
-1
@@ -1545,11 +1545,13 @@ static VOID SetupThreadProc (PVOID threadArg)
|
||||
{
|
||||
status = SaveDriveVolumeHeader (Extension);
|
||||
ASSERT (NT_SUCCESS (status));
|
||||
|
||||
if (NT_SUCCESS (status))
|
||||
{
|
||||
headerUpdateRequired = FALSE;
|
||||
bytesWrittenSinceHeaderUpdate = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
abort:
|
||||
SetupResult = STATUS_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user