mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:22:56 +00:00
[NTFS] Use LookasideList allocations for FILE_RECORD_HEADER.
TODO: use a specific tag This, and previous commit, should speed up a bit the driver until caching gets implemented
This commit is contained in:
parent
3ddf44ff10
commit
216a2cae73
10 changed files with 156 additions and 170 deletions
|
@ -388,7 +388,7 @@ NtfsQueryDirectory(PNTFS_IRP_CONTEXT IrpContext)
|
|||
{
|
||||
DPRINT1("Ignoring duplicate MFT entry 0x%x\n", MFTRecord);
|
||||
Ccb->Entry++;
|
||||
ExFreePoolWithTag(FileRecord, TAG_NTFS);
|
||||
ExFreeToNPagedLookasideList(&DeviceExtension->FileRecLookasideList, FileRecord);
|
||||
continue;
|
||||
}
|
||||
OldMFTRecord = MFTRecord;
|
||||
|
@ -468,7 +468,7 @@ NtfsQueryDirectory(PNTFS_IRP_CONTEXT IrpContext)
|
|||
}
|
||||
BufferLength -= Buffer0->NextEntryOffset;
|
||||
Buffer += Buffer0->NextEntryOffset;
|
||||
ExFreePoolWithTag(FileRecord, TAG_NTFS);
|
||||
ExFreeToNPagedLookasideList(&DeviceExtension->FileRecLookasideList, FileRecord);
|
||||
}
|
||||
|
||||
if (Buffer0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue