Skip to content

Remove a double-counted offset in large files#597

Open
dkovba wants to merge 1 commit intoapple:mainfrom
dkovba:offset
Open

Remove a double-counted offset in large files#597
dkovba wants to merge 1 commit intoapple:mainfrom
dkovba:offset

Conversation

@dkovba
Copy link
Contributor

@dkovba dkovba commented Mar 24, 2026

Removes a double-counted offset in large files.

Inside fillExtents(), offset is already added to extentStart in extentBlock - no need to have it in start:

                let extentBlock: UInt32 = offset + i * EXT4.MaxBlocksPerExtent
                let extentStart: UInt32 = start + extentBlock

@dkovba dkovba requested a review from dcantah March 24, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant