[LTP] [PATCH] syscalls: skip ntfs3 in ioctl_fiemap01 and mount03
Cyril Hrubis
chrubis@suse.cz
Wed Jun 3 11:49:19 CEST 2026
Hi!
> Since commit 7dc8e9a515ce ("lib: Treat kernel ntfs3 as a separate FS"),
> tests with all_filesystems=1 run on ntfs3 independently.
>
> ioctl_fiemap01 and mount03 already skip ntfs, but still run on ntfs3.
> ioctl_fiemap01 fails because the returned FIEMAP extents do not match
> the layout expected by the test. mount03 fails because directory
> timestamps are not updated as expected under strictatime. Add ntfs3 to
> their skip lists, matching the existing ntfs skips.
Maybe it would make more sense to match ntfs3 when ntfs is in the
skiplist in the test library instead, something as:
diff --git a/lib/tst_supported_fs_types.c b/lib/tst_supported_fs_types.c
index d3020fc48..d20c655ea 100644
--- a/lib/tst_supported_fs_types.c
+++ b/lib/tst_supported_fs_types.c
@@ -72,6 +72,9 @@ int tst_fs_in_skiplist(const char *fs_type, const char *const *skiplist)
{
unsigned int i;
+ if (!strcmp(fs_type, "ntfs3"))
+ fs_type = "ntfs";
+
if (!skiplist)
return 0;
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list