projects
/
platform
/
upstream
/
f2fs-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4c7e7
)
mkfs.f2fs: show a message when compression is enabled
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 9 Nov 2020 18:03:06 +0000
(10:03 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 7 Dec 2020 17:25:14 +0000
(09:25 -0800)
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>
mkfs/f2fs_format_main.c
patch
|
blob
|
history
diff --git
a/mkfs/f2fs_format_main.c
b/mkfs/f2fs_format_main.c
index
b14d735
..
03eb748
100644
(file)
--- 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)