This incorrect behavior was leading to a call at too high IRQL for paged code.
This was triggered by MS FastFAT.
ReleaseFromLazyWrite call was already correctly called to that regard.
CORE-11819
continue;
}
+ ASSERT(current->Dirty);
+
+ KeReleaseQueuedSpinLock(LockQueueMasterLock, OldIrql);
+
Locked = current->SharedCacheMap->Callbacks->AcquireForLazyWrite(
current->SharedCacheMap->LazyWriteContext, Wait);
if (!Locked)
{
+ OldIrql = KeAcquireQueuedSpinLock(LockQueueMasterLock);
CcRosVacbDecRefCount(current);
continue;
}
- ASSERT(current->Dirty);
-
- KeReleaseQueuedSpinLock(LockQueueMasterLock, OldIrql);
-
Status = CcRosFlushVacb(current);
current->SharedCacheMap->Callbacks->ReleaseFromLazyWrite(