mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01: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:
parent
ae7ec4802a
commit
8518d55834
@ -1545,9 +1545,11 @@ static VOID SetupThreadProc (PVOID threadArg)
|
||||
{
|
||||
status = SaveDriveVolumeHeader (Extension);
|
||||
ASSERT (NT_SUCCESS (status));
|
||||
|
||||
headerUpdateRequired = FALSE;
|
||||
bytesWrittenSinceHeaderUpdate = 0;
|
||||
if (NT_SUCCESS (status))
|
||||
{
|
||||
headerUpdateRequired = FALSE;
|
||||
bytesWrittenSinceHeaderUpdate = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user