We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5666b commit 2b3b19fCopy full SHA for 2b3b19f
DiskAccessLibrary/FileSystems/NTFS/AttributeData/IndexData.cs
@@ -171,7 +171,7 @@ private void SplitRootIndexRecord()
171
{
172
IndexRecord childRecord = new IndexRecord();
173
childRecord.IsParentNode = m_rootRecord.IsParentNode;
174
- childRecord.IndexEntries = new List<IndexEntry>(m_rootRecord.IndexEntries);
+ childRecord.IndexEntries.AddRange(m_rootRecord.IndexEntries);
175
long childRecordIndex = AllocateIndexRecord();
176
childRecord.RecordVBN = ConvertToVirtualBlockNumber(childRecordIndex);
177
WriteIndexRecord(childRecordIndex, childRecord);
0 commit comments