All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] syscalls: file_attr05: skip ntfs filesystem
@ 2026-04-08 17:44 Matthew R. Ochs via ltp
  2026-04-09  7:53 ` Petr Vorel
  2026-04-09  8:27 ` Cyril Hrubis
  0 siblings, 2 replies; 8+ messages in thread
From: Matthew R. Ochs via ltp @ 2026-04-08 17:44 UTC (permalink / raw)
  To: ltp

LTP mounts ntfs via ntfs-3g (FUSE) rather than the kernel ntfs3
driver. ntfs-3g's ntfs_ioctl() returns EINVAL for any unhandled
ioctl, including FS_IOC_FSSETXATTR, so file_setattr() returns
EINVAL instead of the expected EOPNOTSUPP.

Add "ntfs" to skip_filesystems for the same reason "fuse" is
already skipped.

Signed-off-by: Matthew R. Ochs <mochs@nvidia.com>
---
 testcases/kernel/syscalls/file_attr/file_attr05.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/file_attr/file_attr05.c b/testcases/kernel/syscalls/file_attr/file_attr05.c
index 6c1471da33e7..85b6cafc5f17 100644
--- a/testcases/kernel/syscalls/file_attr/file_attr05.c
+++ b/testcases/kernel/syscalls/file_attr/file_attr05.c
@@ -49,6 +49,7 @@ static struct tst_test test = {
 	.skip_filesystems = (const char *const []) {
 		"xfs",
 		"fuse", /* EINVAL is raised before EOPNOTSUPP */
+		"ntfs", /* mounted via ntfs-3g (FUSE), returns EINVAL */
 		"vfat", /* vfat is not implementing file_[set|get]attr */
 		NULL,
 	},
-- 
2.50.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-16  8:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 17:44 [LTP] [PATCH] syscalls: file_attr05: skip ntfs filesystem Matthew R. Ochs via ltp
2026-04-09  7:53 ` Petr Vorel
2026-04-09 22:55   ` Matt Ochs via ltp
2026-04-16  8:50     ` Petr Vorel
2026-04-09  8:27 ` Cyril Hrubis
2026-04-09 22:51   ` Matt Ochs via ltp
2026-04-10 10:04     ` Cyril Hrubis
2026-04-10 16:42       ` Matt Ochs via ltp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.