From: "Matthew R. Ochs via ltp" <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls: file_attr05: skip ntfs filesystem
Date: Wed, 8 Apr 2026 10:44:06 -0700 [thread overview]
Message-ID: <20260408174406.1572520-1-mochs@nvidia.com> (raw)
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
next reply other threads:[~2026-04-08 17:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 17:44 Matthew R. Ochs via ltp [this message]
2026-04-09 7:53 ` [LTP] [PATCH] syscalls: file_attr05: skip ntfs filesystem 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
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=20260408174406.1572520-1-mochs@nvidia.com \
--to=ltp@lists.linux.it \
--cc=mochs@nvidia.com \
/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 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.