mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTOS:CC]
- Remove useless list entry from ROS_VACB svn path=/trunk/; revision=63734
This commit is contained in:
parent
304292d17e
commit
dca53f8c00
3 changed files with 0 additions and 7 deletions
|
@ -168,7 +168,6 @@ CcSetFileSizes (
|
|||
if ((current->ReferenceCount == 0) || ((current->ReferenceCount == 1) && current->Dirty))
|
||||
{
|
||||
RemoveEntryList(¤t->CacheMapVacbListEntry);
|
||||
RemoveEntryList(¤t->VacbListEntry);
|
||||
RemoveEntryList(¤t->VacbLruListEntry);
|
||||
if (current->Dirty)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
/* GLOBALS *******************************************************************/
|
||||
|
||||
static LIST_ENTRY DirtyVacbListHead;
|
||||
static LIST_ENTRY VacbListHead;
|
||||
static LIST_ENTRY VacbLruListHead;
|
||||
ULONG DirtyPageCount = 0;
|
||||
|
||||
|
@ -331,7 +330,6 @@ retry:
|
|||
ASSERT(!current->MappedCount);
|
||||
|
||||
RemoveEntryList(¤t->CacheMapVacbListEntry);
|
||||
RemoveEntryList(¤t->VacbListEntry);
|
||||
RemoveEntryList(¤t->VacbLruListEntry);
|
||||
InsertHeadList(&FreeList, ¤t->CacheMapVacbListEntry);
|
||||
|
||||
|
@ -688,7 +686,6 @@ CcRosCreateVacb (
|
|||
InsertHeadList(&SharedCacheMap->CacheMapVacbListHead, ¤t->CacheMapVacbListEntry);
|
||||
}
|
||||
KeReleaseSpinLock(&SharedCacheMap->CacheMapLock, oldIrql);
|
||||
InsertTailList(&VacbListHead, ¤t->VacbListEntry);
|
||||
InsertTailList(&VacbLruListHead, ¤t->VacbLruListEntry);
|
||||
KeReleaseGuardedMutex(&ViewLock);
|
||||
|
||||
|
@ -1040,7 +1037,6 @@ CcRosDeleteFileCache (
|
|||
{
|
||||
current_entry = RemoveTailList(&SharedCacheMap->CacheMapVacbListHead);
|
||||
current = CONTAINING_RECORD(current_entry, ROS_VACB, CacheMapVacbListEntry);
|
||||
RemoveEntryList(¤t->VacbListEntry);
|
||||
RemoveEntryList(¤t->VacbLruListEntry);
|
||||
if (current->Dirty)
|
||||
{
|
||||
|
@ -1267,7 +1263,6 @@ CcInitView (
|
|||
{
|
||||
DPRINT("CcInitView()\n");
|
||||
|
||||
InitializeListHead(&VacbListHead);
|
||||
InitializeListHead(&DirtyVacbListHead);
|
||||
InitializeListHead(&VacbLruListHead);
|
||||
KeInitializeGuardedMutex(&ViewLock);
|
||||
|
|
|
@ -135,7 +135,6 @@ typedef struct _ROS_VACB
|
|||
/* Entry in the list of VACBs which are dirty. */
|
||||
LIST_ENTRY DirtyVacbListEntry;
|
||||
/* Entry in the list of VACBs. */
|
||||
LIST_ENTRY VacbListEntry;
|
||||
LIST_ENTRY VacbLruListEntry;
|
||||
/* Offset in the file which this view maps. */
|
||||
LARGE_INTEGER FileOffset;
|
||||
|
|
Loading…
Reference in a new issue