[NTOSKRNL] When initializing file cache, also allocate a private cache map if needed.

Not used yet.
This commit is contained in:
Pierre Schweitzer 2018-02-07 23:18:54 +01:00
parent 0e932c7bef
commit 074e7e97fe
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
3 changed files with 60 additions and 3 deletions

View file

@ -163,6 +163,7 @@ typedef struct _ROS_SHARED_CACHE_MAP
BOOLEAN PinAccess;
PCACHE_MANAGER_CALLBACKS Callbacks;
PVOID LazyWriteContext;
LIST_ENTRY PrivateList;
KSPIN_LOCK CacheMapLock;
ULONG OpenCount;
ULONG DirtyPages;
@ -255,6 +256,7 @@ typedef struct _WORK_QUEUE_ENTRY
extern LAZY_WRITER LazyWriter;
#define NODE_TYPE_DEFERRED_WRITE 0x02FC
#define NODE_TYPE_PRIVATE_MAP 0x02FE
VOID
NTAPI