mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[NDK] Update the PRIVATE_CACHE_MAP structure to match W2K3 one.
Also update the spin lock on allocation.
This commit is contained in:
parent
de897cbe3d
commit
f8b5d27807
2 changed files with 6 additions and 2 deletions
|
@ -1280,6 +1280,7 @@ CcRosInitializeFileCache (
|
|||
PrivateMap->NodeTypeCode = NODE_TYPE_PRIVATE_MAP;
|
||||
PrivateMap->ReadAheadMask = PAGE_SIZE - 1;
|
||||
PrivateMap->FileObject = FileObject;
|
||||
KeInitializeSpinLock(&PrivateMap->ReadAheadSpinLock);
|
||||
|
||||
/* Link it to the file */
|
||||
KeAcquireSpinLock(&SharedCacheMap->CacheMapLock, &OldIrql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue