erofs-utils: mkfs: get rid of outdated subpage compression warning
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 19 Sep 2024 10:55:19 +0000 (18:55 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 19 Sep 2024 11:04:29 +0000 (19:04 +0800)
It has been supported since Linux 6.8.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240919105519.3656878-1-hsiangkao@linux.alibaba.com
mkfs/main.c

index 7e2e184bc6a220e516f448b09949fd482a45e7de..8f1fdbc82338ba2bfe38439bf2d55020cbcc2a93 100644 (file)
@@ -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)) {