Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ContainerizationEXT4/EXT4+Formatter.swift
Original file line numberDiff line numberDiff line change
Expand Up@@ -1135,7 +1135,7 @@ extension EXT4 {
let offset = i * extentsPerBlock * EXT4.MaxBlocksPerExtent
fillExtents(
node: &leafNode, numExtents: extentsInBlock, numBlocks: dataBlocks,
start: blocks.start + offset,
start: blocks.start,
offset: offset)
try withUnsafeLittleEndianBytes(of: leafNode.header) { bytes in
try self.handle.write(contentsOf: bytes)
Expand Down