mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
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:
parent
1d4c7e7ce5
commit
31d30f0c49
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user