This patch adds a message when formatting the disk with compression.
Signed-off-by: Jaegeuk Kim <[email protected]>
---
mkfs/f2fs_format_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index b14d7359f786..03eb748170ad 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -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)
--
2.29.2.222.g5d2a92d10f8-goog
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel