[PATCH 4/4] f2fs-tools: adjust feature name

From: Chao Yu
Date: Thu Nov 16 2017 - 06:52:42 EST


This patch slightly changes showed feature name.

Before:
Info: superblock features = f9 : encrypt extra attribute project quota inode checksum flexible inline xattr quota ino

After:
Info: superblock features = f9 : encrypt extra_attr project_quota inode_checksum flexible_inline_xattr quota_ino

Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx>
---
fsck/mount.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/fsck/mount.c b/fsck/mount.c
index c094f940ee1b..4ad22a136ca9 100644
--- a/fsck/mount.c
+++ b/fsck/mount.c
@@ -429,22 +429,22 @@ void print_sb_state(struct f2fs_super_block *sb)
MSG(0, "%s", " encrypt");
}
if (f & cpu_to_le32(F2FS_FEATURE_BLKZONED)) {
- MSG(0, "%s", " zoned block device");
+ MSG(0, "%s", " blkzoned");
}
if (f & cpu_to_le32(F2FS_FEATURE_EXTRA_ATTR)) {
- MSG(0, "%s", " extra attribute");
+ MSG(0, "%s", " extra_attr");
}
if (f & cpu_to_le32(F2FS_FEATURE_PRJQUOTA)) {
- MSG(0, "%s", " project quota");
+ MSG(0, "%s", " project_quota");
}
if (f & cpu_to_le32(F2FS_FEATURE_INODE_CHKSUM)) {
- MSG(0, "%s", " inode checksum");
+ MSG(0, "%s", " inode_checksum");
}
if (f & cpu_to_le32(F2FS_FEATURE_FLEXIBLE_INLINE_XATTR)) {
- MSG(0, "%s", " flexible inline xattr");
+ MSG(0, "%s", " flexible_inline_xattr");
}
if (f & cpu_to_le32(F2FS_FEATURE_QUOTA_INO)) {
- MSG(0, "%s", " quota ino");
+ MSG(0, "%s", " quota_ino");
}
MSG(0, "\n");
MSG(0, "Info: superblock encrypt level = %d, salt = ",
--
2.15.0.55.gc2ece9dc4de6