Skip to contentSkip to conversation

erofs-utils: mkfs: get rid of outdated subpage compression warning

PATCH New Gao Xiang 1 participant 1 message Sep 19, 2024

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

PATCH 1/1 erofs-utils: mkfs: get rid of outdated subpage compression warning

It has been supported since Linux 6.8.

---
 mkfs/main.c | 5 -----
 1 file changed, 5 deletions(-)
mkfs/main.c +0 -5
index 7e2e184..8f1fdbc 100644
@@ -965,11 +965,6 @@ static int mkfs_parse_options_cfg(int argc, char *argv[])
 		cfg.c_showprogress = false;
 	}
 
-	if (cfg.c_compr_opts[0].alg && erofs_blksiz(&g_sbi) != getpagesize())
-		erofs_warn("Please note that subpage blocksize with compression isn't yet supported in kernel. "
-			   "This compressed image will only work with bs = ps = %u bytes",
-			   erofs_blksiz(&g_sbi));
-
 	if (pclustersize_max) {
 		if (pclustersize_max < erofs_blksiz(&g_sbi) ||
 		    pclustersize_max % erofs_blksiz(&g_sbi)) {
Signature · 1 line
2.43.5