Skip to content

Commit 819f7a5

Browse files
committed
Fix unlinking not freeing the first inode
1 parent 5460b52 commit 819f7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ContainerizationEXT4/EXT4+Formatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ extension EXT4 {
241241
}
242242
}
243243

244-
guard inodeNumber > FirstInode else {
244+
guard inodeNumber >= FirstInode else {
245245
// Free the inodes and the blocks related to the inode only if its valid
246246
return
247247
}

0 commit comments

Comments
 (0)