[LTP] [PATCH v2] syscalls: add file_attr05 test
Andrea Cervesato
andrea.cervesato@suse.com
Mon Jan 19 15:03:12 CET 2026
Hi!
On Mon Jan 19, 2026 at 1:39 PM CET, Cyril Hrubis wrote:
> Hi!
> > + .filesystems = (struct tst_fs []) {
> > + {.type = "vfat"},
>
> I wonder if we can add more filesystems here, just to make sure that we
> run the test even when vfat is not compiled in the kernel. Does ext2
> implement the file_set/getattr calls?
>
> > + {}
> > + },
>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
vfat and ntfs are the only ones which don't support both file_setattr()
and file_getattr(), while ext family, tmpfs and btrfs don't raise
EOPNOTSUPP for file_getattr() only. I'm wondering if that's a bug, since
xfs is our reference for this implementation, or this has been
introduced in 6.18-rc2 by 7ea30958b3054f5e488fa0b33c352723f7ab3a2a
commit.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list