mkfs.f2fs: show a message when compression is enabled

This patch adds a message when formatting the disk with compression.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Jaegeuk Kim 2020-11-09 10:03:06 -08:00
parent 1d4c7e7ce5
commit 31d30f0c49

View File

@ -98,6 +98,9 @@ static void f2fs_show_info()
f2fs_encoding2str(c.s_encoding));
if (c.feature & le32_to_cpu(F2FS_FEATURE_PRJQUOTA))
MSG(0, "Info: Enable Project quota\n");
if (c.feature & le32_to_cpu(F2FS_FEATURE_COMPRESSION))
MSG(0, "Info: Enable Compression\n");
}
static void add_default_options(void)