File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1304,10 +1304,10 @@ CcRosInitializeFileCache (
13041304 SharedCacheMap = FileObject -> SectionObjectPointer -> SharedCacheMap ;
13051305 if (SharedCacheMap == NULL )
13061306 {
1307- Allocated = TRUE;
13081307 SharedCacheMap = ExAllocateFromNPagedLookasideList (& SharedCacheMapLookasideList );
13091308 if (SharedCacheMap == NULL )
13101309 {
1310+ KeReleaseQueuedSpinLock (LockQueueMasterLock , OldIrql );
13111311 return STATUS_INSUFFICIENT_RESOURCES ;
13121312 }
13131313 RtlZeroMemory (SharedCacheMap , sizeof (* SharedCacheMap ));
@@ -1335,6 +1335,7 @@ CcRosInitializeFileCache (
13351335 NULL ,
13361336 KernelMode );
13371337
1338+ Allocated = TRUE;
13381339 FileObject -> SectionObjectPointer -> SharedCacheMap = SharedCacheMap ;
13391340
13401341 //CcRosTraceCacheMap(SharedCacheMap, TRUE);
You can’t perform that action at this time.
0 commit comments