Update NTOSKRNL/CC/ccloghandler.cpp

This commit is contained in:
Dibyamartanda Samanta 2024-05-17 17:48:27 +02:00
parent 9fb0e1c897
commit 7314c677e7

View File

@ -301,7 +301,7 @@ CcSetLogHandleForFileEx(
{
ObfReferenceObjectWithTag(RelatedLogHandleFileObject, 'tlFD');
LogHandleContext.RelatedFileObject = RelatedLogHandleFileObject;
}
}
RtlCopyMemory(VolumeLogHandleContext, &LogHandleContext, sizeof(LOG_HANDLE_CONTEXT));
}
@ -315,8 +315,8 @@ CcSetLogHandleForFileEx(
if (SharedCacheMap->DirtyPages)
{
VolumeLogHandleContext->DirtyPageStatistics.DirtyPages += SharedCacheMap->DirtyPages;
}
}
}
SharedCacheMap->Flags |= FLAG_LOGHANDLE_NOT_SET;