[LTP] struct tst_fs: Add flag for checking filesystem mount support in kernel

Martin Doucha mdoucha@suse.cz
Tue Aug 18 11:21:16 CEST 2026


On 8/18/26 09:51, Andrea Cervesato wrote:
>> Could safe_mount() and SAFE_MOUNT2() gain kernel-doc comments that describe
>> the new check_support argument and the resulting TCONF behavior? These are
>> modified public APIs in include/ and lib/.
> 
> This is actually correct, rather than adding only docs in the struct,
> it would be good to add the doc also in the function documentation.

SAFE_MOUNT2() is only used in lib/tst_test.c and LTP tests should 
probably not use it at all. We have no documentation for other SAFE_*() 
functions because they're sufficiently described by the relevant 
manpage. The two extra parameters in SAFE_MOUNT2() should be clear enough.

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list