mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
- Add a comment describing behavior in case of HvSyncHive failure.
svn path=/trunk/; revision=33574
This commit is contained in:
parent
5508c5cbb2
commit
b97e40c655
1 changed files with 7 additions and 5 deletions
|
@ -18,9 +18,9 @@ BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
CmpDoFlushAll(IN BOOLEAN ForceFlush)
|
CmpDoFlushAll(IN BOOLEAN ForceFlush)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
|
||||||
PLIST_ENTRY NextEntry;
|
PLIST_ENTRY NextEntry;
|
||||||
PCMHIVE Hive;
|
PCMHIVE Hive;
|
||||||
|
NTSTATUS Status;
|
||||||
BOOLEAN Result = TRUE;
|
BOOLEAN Result = TRUE;
|
||||||
|
|
||||||
/* Make sure that the registry isn't read-only now */
|
/* Make sure that the registry isn't read-only now */
|
||||||
|
@ -43,6 +43,8 @@ CmpDoFlushAll(IN BOOLEAN ForceFlush)
|
||||||
|
|
||||||
/* Do the sync */
|
/* Do the sync */
|
||||||
Status = HvSyncHive(&Hive->Hive);
|
Status = HvSyncHive(&Hive->Hive);
|
||||||
|
|
||||||
|
/* If something failed - set the flag and continue looping*/
|
||||||
if (!NT_SUCCESS(Status)) Result = FALSE;
|
if (!NT_SUCCESS(Status)) Result = FALSE;
|
||||||
|
|
||||||
/* Release the flusher lock */
|
/* Release the flusher lock */
|
||||||
|
|
Loading…
Reference in a new issue