Skip to content

Commit d0b43df

Browse files
authored
EXT4: Remove advertising inline data (#438)
1 parent 2d27ef6 commit d0b43df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/ContainerizationEXT4/EXT4+Formatter.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ extension EXT4 {
441441
buffer[89],
442442
buffer[90], buffer[91], buffer[92], buffer[93], buffer[94], buffer[95]
443443
)
444-
childInode.flags |= InodeFlag.inlineData.rawValue
445444
}
446445
if !state.blockAttributes.isEmpty {
447446
var buffer: [UInt8] = .init(repeating: 0, count: Int(blockSize))
@@ -902,7 +901,7 @@ extension EXT4 {
902901
superblock.inodeSize = UInt16(EXT4.InodeSize)
903902
superblock.featureCompat = CompatFeature.sparseSuper2 | CompatFeature.extAttr
904903
superblock.featureIncompat =
905-
IncompatFeature.filetype | IncompatFeature.extents | IncompatFeature.flexBg | IncompatFeature.inlineData
904+
IncompatFeature.filetype | IncompatFeature.extents | IncompatFeature.flexBg
906905
superblock.featureRoCompat =
907906
RoCompatFeature.largeFile | RoCompatFeature.hugeFile | RoCompatFeature.extraIsize
908907
superblock.minExtraIsize = EXT4.ExtraIsize

0 commit comments

Comments
 (0)