[LTP] [PATCH] syscalls: skip ntfs3 in ioctl_fiemap01 and mount03

XiaoLei Wu wxl18715129466@gmail.com
Tue Jun 2 08:45:02 CEST 2026


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.

Signed-off-by: XiaoLei Wu <wxl18715129466@gmail.com>
---
 testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c | 2 +-
 testcases/kernel/syscalls/mount/mount03.c        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c b/testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c
index 31187b1..8a660f0 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c
@@ -119,7 +119,7 @@ static struct tst_test test = {
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,
 	.skip_filesystems = (const char *const[]) {
-		"exfat", "vfat", "fuse", "ntfs", "tmpfs", NULL
+		"exfat", "vfat", "fuse", "ntfs", "ntfs3", "tmpfs", NULL
 	},
 	.test_all = verify_ioctl,
 	.needs_root = 1,
diff --git a/testcases/kernel/syscalls/mount/mount03.c b/testcases/kernel/syscalls/mount/mount03.c
index 8dd6f3e..628b3f2 100644
--- a/testcases/kernel/syscalls/mount/mount03.c
+++ b/testcases/kernel/syscalls/mount/mount03.c
@@ -256,6 +256,7 @@ static struct tst_test test = {
 		"exfat",
 		"vfat",
 		"ntfs",
+		"ntfs3",
 		NULL
 	},
 };
-- 
2.43.0


More information about the ltp mailing list