[LTP] [PATCH 1/2] lib: tst_test: Add per filesystem mkfs and mount opts

Martin Doucha mdoucha@suse.cz
Tue Jun 11 15:16:38 CEST 2024


On 11. 06. 24 15:11, Cyril Hrubis wrote:
> Hi!
>>> Another option would be storing the defaults in .fss with NULL
>>> filesystem name, but that would IMHO be even more confusing.
>>
>> Yes, that is the solution that I had in mind when I wrote the previous
>> e-mail. It makes more sense to me.
> 
> Unfortunately this does not work, since the array is NULL fs_type
> terminated.

You can make an exception for .fss[0] since it doesn't make sense to 
have zero-length array there.

-- 
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