mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
[NTFS] - Add support for expanding the master file table. Fix a bug with BrowseIndexEntries(). Improve diagnostic output.
-AddNewMftEntry() - Increase size of MFT as needed. Fix math for bitmap length. Don't assign file records to MFT indices 0x10 - 0x17; In Windows, these records aren't used unless they have to be, even though they are marked as unused in the bitmap. +IncreaseMftSize() - Adds room for additional file records in the master file table. -BrowseIndexEntries() - allow for the rare situation when a non-system file has an MFT index of 0x10. svn path=/branches/GSoC_2016/NTFS/; revision=75056
This commit is contained in:
parent
1417f286e0
commit
9ab86116a9
2 changed files with 192 additions and 9 deletions
|
@ -649,6 +649,8 @@ NtfsCreateFileRecord(PDEVICE_EXTENSION DeviceExt,
|
|||
ULONGLONG ParentMftIndex;
|
||||
ULONGLONG FileMftIndex;
|
||||
|
||||
DPRINT1("NtfsCreateFileRecord(%p, %p)\n", DeviceExt, FileObject);
|
||||
|
||||
// allocate memory for file record
|
||||
FileRecord = ExAllocatePoolWithTag(NonPagedPool,
|
||||
DeviceExt->NtfsInfo.BytesPerFileRecord,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue