mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTOSKRNL]
- Fix a reference count check in the flush path (broken by r54745) svn path=/trunk/; revision=54747
This commit is contained in:
@@ -228,7 +228,9 @@ CcRosFlushDirtyPages(ULONG Target, PULONG Count, BOOLEAN Wait)
|
||||
}
|
||||
|
||||
ASSERT(current->Dirty);
|
||||
if (current->ReferenceCount > 1)
|
||||
|
||||
/* One reference is added above */
|
||||
if (current->ReferenceCount > 2)
|
||||
{
|
||||
KeReleaseMutex(¤t->Mutex, 0);
|
||||
current->Bcb->Callbacks->ReleaseFromLazyWrite(
|
||||
|
||||
Reference in New Issue
Block a user