mkfs.f2fs: show a message when compression is enabled
PATCH 1/1 mkfs.f2fs: show a message when compression is enabled
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(+)
mkfs/f2fs_format_main.c +3 -0
@@ -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 )
Signature · 8 lines
2.29.2.222.g5d2a92d10f8-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Quoted 3 lines · Jaegeuk Kim
This patch adds a message when formatting the disk with compression.
Signed-off-by Jaegeuk Kim <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel