* [PATCH] selftests/statmount: update list of valid filesystems
@ 2026-09-06 3:16 Ethan Nelson-Moore
0 siblings, 0 replies; only message in thread
From: Ethan Nelson-Moore @ 2026-09-06 3:16 UTC (permalink / raw)
To: Tony Luck, Guilherme G. Piccoli, Christian Brauner,
Bhavik Sachdev, linux-kselftest
Cc: Ethan Nelson-Moore, Shuah Khan, Kees Cook
The list of valid filesystems in
tools/testing/selftests/filesystems/statmount/statmount_test.c contains
several filesystems that have been removed from the kernel, and is
missing several recently added filesystems. Update it.
The new list was generated using this small script:
(grep -rA10 'struct file_system_type .* =' | fgrep -w .name
fgrep -r MODULE_ALIAS_FS'(' | grep -v '#define'
) | cut -d '"' -f2 | LC_ALL=C sort -u | while read a; do
printf '"%s", ' "$a"
done
echo
It was then manually formatted and edited to remove filesystem types
registered by tests and fix a few entries the script couldn't extract
correctly.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
.../filesystems/statmount/statmount_test.c | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/tools/testing/selftests/filesystems/statmount/statmount_test.c b/tools/testing/selftests/filesystems/statmount/statmount_test.c
index 52544512edc7..352ca022f248 100644
--- a/tools/testing/selftests/filesystems/statmount/statmount_test.c
+++ b/tools/testing/selftests/filesystems/statmount/statmount_test.c
@@ -17,21 +17,21 @@
static const char *const known_fs[] = {
"9p", "adfs", "affs", "afs", "aio", "anon_inodefs", "apparmorfs",
- "autofs", "bcachefs", "bdev", "befs", "binder", "binfmt_misc",
+ "autofs", "bdev", "befs", "binder", "binfmt_misc",
"bpf", "btrfs", "btrfs_test_fs", "ceph", "cgroup", "cgroup2", "cifs",
- "coda", "configfs", "cpuset", "cramfs", "cxl", "dax", "debugfs",
- "devpts", "devtmpfs", "dmabuf", "drm", "ecryptfs", "efivarfs", "efs",
- "erofs", "exfat", "ext2", "ext3", "ext4", "f2fs", "functionfs",
- "fuse", "fuseblk", "fusectl", "gadgetfs", "gfs2", "gfs2meta", "hfs",
- "hfsplus", "hostfs", "hpfs", "hugetlbfs", "ibmasmfs", "iomem",
- "ipathfs", "iso9660", "jffs2", "jfs", "minix", "mqueue", "msdos",
- "nfs", "nfs4", "nfsd", "nilfs2", "nsfs", "ntfs", "ntfs3", "ocfs2",
- "ocfs2_dlmfs", "omfs", "openpromfs", "overlay", "pipefs", "proc",
- "pstore", "pvfs2", "qnx4", "qnx6", "ramfs", "resctrl", "romfs",
+ "coda", "configfs", "cpuset", "cramfs", "dax", "debugfs",
+ "devpts", "devtmpfs", "dmabuf", "drm", "ecryptfs", "efivarfs",
+ "erofs", "exfat", "ext2", "ext3", "ext4", "f2fs", "failfs", "functionfs",
+ "fuse", "fuseblk", "fusectl", "gadgetfs", "gfs2", "gfs2meta", "guest_memfd", "hfs",
+ "hfsplus", "hostfs", "hpfs", "hugetlbfs", "iomem",
+ "iso9660", "jffs2", "jfs", "minix", "mqueue", "msdos",
+ "nfs", "nfs4", "nfsd", "nilfs2", "nsfs", "ntfs", "ntfs3", "nullfs", "ocfs2",
+ "ocfs2_dlmfs", "omfs", "openpromfs", "overlay", "pidfs", "pipefs", "proc",
+ "pseudo_erofs", "pstore", "pvfs2", "qnx4", "qnx6", "ramfs", "resctrl", "romfs",
"rootfs", "rpc_pipefs", "s390_hypfs", "secretmem", "securityfs",
"selinuxfs", "smackfs", "smb3", "sockfs", "spufs", "squashfs", "sysfs",
- "sysv", "tmpfs", "tracefs", "ubifs", "udf", "ufs", "v7", "vboxsf",
- "vfat", "virtiofs", "vxfs", "xenfs", "xfs", "zonefs", NULL };
+ "tmpfs", "tracefs", "ubifs", "udf", "ufs", "vboxsf",
+ "vfat", "vfio", "virtiofs", "xenfs", "xfs", "zonefs", NULL };
static void write_file(const char *path, const char *val)
{
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-06 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 3:16 [PATCH] selftests/statmount: update list of valid filesystems Ethan Nelson-Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).