Update NTOSKRNL/CC/ccloghandler.cpp
This commit is contained in:
parent
9fb0e1c897
commit
7314c677e7
@ -301,7 +301,7 @@ CcSetLogHandleForFileEx(
|
|||||||
{
|
{
|
||||||
ObfReferenceObjectWithTag(RelatedLogHandleFileObject, 'tlFD');
|
ObfReferenceObjectWithTag(RelatedLogHandleFileObject, 'tlFD');
|
||||||
LogHandleContext.RelatedFileObject = RelatedLogHandleFileObject;
|
LogHandleContext.RelatedFileObject = RelatedLogHandleFileObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
RtlCopyMemory(VolumeLogHandleContext, &LogHandleContext, sizeof(LOG_HANDLE_CONTEXT));
|
RtlCopyMemory(VolumeLogHandleContext, &LogHandleContext, sizeof(LOG_HANDLE_CONTEXT));
|
||||||
}
|
}
|
||||||
@ -315,8 +315,8 @@ CcSetLogHandleForFileEx(
|
|||||||
if (SharedCacheMap->DirtyPages)
|
if (SharedCacheMap->DirtyPages)
|
||||||
{
|
{
|
||||||
VolumeLogHandleContext->DirtyPageStatistics.DirtyPages += SharedCacheMap->DirtyPages;
|
VolumeLogHandleContext->DirtyPageStatistics.DirtyPages += SharedCacheMap->DirtyPages;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
SharedCacheMap->Flags |= FLAG_LOGHANDLE_NOT_SET;
|
SharedCacheMap->Flags |= FLAG_LOGHANDLE_NOT_SET;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user