From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 2/4] lib: tst_fs_type change fs names to lowercase
Date: Thu, 11 Mar 2021 11:55:07 +0100 [thread overview]
Message-ID: <20210311105509.2701-3-chrubis@suse.cz> (raw)
In-Reply-To: <20210311105509.2701-1-chrubis@suse.cz>
To make it consistent with the rest of the library.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
lib/tst_fs_type.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c
index d661d5b2a..8475f4c78 100644
--- a/lib/tst_fs_type.c
+++ b/lib/tst_fs_type.c
@@ -47,46 +47,46 @@ const char *tst_fs_type_name(long f_type)
{
switch (f_type) {
case TST_TMPFS_MAGIC:
- return "TMPFS";
+ return "tmpfs";
case TST_NFS_MAGIC:
- return "NFS";
+ return "nfs";
case TST_V9FS_MAGIC:
- return "9P";
+ return "9p";
case TST_RAMFS_MAGIC:
- return "RAMFS";
+ return "ramfs";
case TST_BTRFS_MAGIC:
- return "BTRFS";
+ return "btrfs";
case TST_XFS_MAGIC:
- return "XFS";
+ return "xfs";
case TST_EXT2_OLD_MAGIC:
- return "EXT2";
+ return "ext2";
case TST_EXT234_MAGIC:
- return "EXT2/EXT3/EXT4";
+ return "ext2/ext3/ext4";
case TST_MINIX_MAGIC:
case TST_MINIX_MAGIC2:
case TST_MINIX2_MAGIC:
case TST_MINIX2_MAGIC2:
case TST_MINIX3_MAGIC:
- return "MINIX";
+ return "minix";
case TST_UDF_MAGIC:
- return "UDF";
+ return "udf";
case TST_SYSV2_MAGIC:
case TST_SYSV4_MAGIC:
- return "SYSV";
+ return "sysv";
case TST_UFS_MAGIC:
case TST_UFS2_MAGIC:
- return "UFS";
+ return "ufs";
case TST_F2FS_MAGIC:
- return "F2FS";
+ return "f2fs";
case TST_NILFS_MAGIC:
- return "NILFS";
+ return "nilfs";
case TST_EXOFS_MAGIC:
- return "EXOFS";
+ return "exofs";
case TST_OVERLAYFS_MAGIC:
- return "OVERLAYFS";
+ return "overlayfs";
case TST_FUSE_MAGIC:
- return "FUSE";
+ return "fuse";
default:
- return "Unknown";
+ return "unknown";
}
}
--
2.26.2
next prev parent reply other threads:[~2021-03-11 10:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 10:55 [LTP] [PATCH v2 0/4] Add proper filesystem skiplist Cyril Hrubis
2021-03-11 10:55 ` [LTP] [PATCH v2 1/4] lib: " Cyril Hrubis
2021-03-12 11:06 ` [LTP] [PATCH v3] " Martin Doucha
2021-03-12 14:05 ` Cyril Hrubis
2021-03-12 17:00 ` Martin Doucha
2021-03-11 10:55 ` Cyril Hrubis [this message]
2021-03-11 10:55 ` [LTP] [PATCH v2 3/4] lib: Apply the skip_filesystems to rest of test as well Cyril Hrubis
2021-03-11 10:55 ` [LTP] [PATCH v2 4/4] doc: Update docs on filesystem detection Cyril Hrubis
2021-03-11 11:34 ` Petr Vorel
2021-03-11 12:46 ` [LTP] [PATCH v2 0/4] Add proper filesystem skiplist Li Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210311105509.2701-3-chrubis@suse.cz \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox