Skip to contentSkip to conversation

erofs-utils: mkfs: do not enable lz4_0padding for plain images

PATCH New Gao Xiang 1 participant 1 message Feb 25

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

PATCH 1/1 erofs-utils: mkfs: do not enable lz4_0padding for plain images

This is a new regression introduced in erofs-utils 1.9.

Fixes 16a77fed8511 ("erofs-utils: lib: unexport z_erofs_compress_{init,exit}")
---
 mkfs/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mkfs/main.c +1 -1
index aaf5358fc735..b84d1b46f4dc 100644
@@ -1678,7 +1678,7 @@ static void erofs_mkfs_default_options(struct erofs_importer_params *params)
 	mkfs_blkszbits = ilog2(min_t(u32, getpagesize(), EROFS_MAX_BLOCK_SIZE));
 	params->pclusterblks_max = 1U;
 	params->pclusterblks_def = 1U;
-	g_sbi.feature_incompat = EROFS_FEATURE_INCOMPAT_LZ4_0PADDING;
+	g_sbi.feature_incompat = 0;
 	g_sbi.feature_compat = EROFS_FEATURE_COMPAT_SB_CHKSUM |
 			     EROFS_FEATURE_COMPAT_MTIME;
 }
Signature · 1 line
2.43.5