[NTOSKRNL] Drop the no longer needed Dirty field

CORE-15954
This commit is contained in:
Pierre Schweitzer 2019-04-18 08:14:41 +02:00
parent 8b6696fcdb
commit bd75947372
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 0 additions and 3 deletions

View file

@ -216,7 +216,6 @@ CcpGetAppropriateBcb(
iBcb->PFCB.MappedLength = Length;
iBcb->PFCB.MappedFileOffset = *FileOffset;
iBcb->Vacb = Vacb;
iBcb->Dirty = FALSE;
iBcb->PinCount = 0;
iBcb->RefCount = 1;
ExInitializeResourceLite(&iBcb->Lock);
@ -579,7 +578,6 @@ CcSetDirtyPinnedData (
CCTRACE(CC_API_DEBUG, "Bcb=%p Lsn=%p\n",
Bcb, Lsn);
iBcb->Dirty = TRUE;
if (!iBcb->Vacb->Dirty)
{
CcRosMarkDirtyVacb(iBcb->Vacb);

View file

@ -233,7 +233,6 @@ typedef struct _INTERNAL_BCB
ERESOURCE Lock;
PUBLIC_BCB PFCB;
PROS_VACB Vacb;
BOOLEAN Dirty;
ULONG PinCount;
CSHORT RefCount; /* (At offset 0x34 on WinNT4) */
LIST_ENTRY BcbEntry;