Update NTOSKRNL/CC/ccmdlhandler.cpp
This commit is contained in:
parent
12c4e07a18
commit
98d2bb9ea6
@ -234,7 +234,7 @@ NTAPI
|
||||
CcMdlWriteAbort(IN PFILE_OBJECT FileObject,
|
||||
IN PMDL MdlChain)
|
||||
{
|
||||
KIRQL CurrentIrql = {0}; // Underneath a UCHAR
|
||||
KIRQL CurrentIrql = {0};
|
||||
PSHARED_CACHE_MAP SharedCacheMap = FileObject->SectionObjectPointer->SharedCacheMap;
|
||||
|
||||
|
||||
@ -248,7 +248,7 @@ for( auto it = begin(MdlChain); it != end(MdlChain);++it)
|
||||
}
|
||||
if ( (MdlChain->MdlFlags & 2) != 0 )
|
||||
{
|
||||
CurrentIrql = KeAcquireQueuedSpinLock(LockQueueMasterLock);
|
||||
CurrentIrql = KeAcquireQueuedSpinLock(LockQueueMasterLock);
|
||||
CcDecrementOpenCount(SharedCacheMap);
|
||||
KeReleaseQueuedSpinLock(LockQueueMasterLock, CurrentIrql);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user