[LTP] [PATCH v4] lib: LTP_SINGLE_FS_TYPE and LTP_FORCE_SINGLE_FS_TYPE

Petr Vorel pvorel@suse.cz
Tue May 27 13:00:43 CEST 2025


> Petr Vorel <pvorel@suse.cz> wrote:


> > > One more thing I'm a bit hesitant about, do we need to explicitly set
> > > fs_types[1] to NULL here?

> > Although it looks reasonable, I suppose it's not needed because array is static,
> > therefore members are NULL, right?

> That's right, just confirmed with Cyril, so far we need to do nothing
> unless tst_get_supported_fs_types() is abused somewhere.

Abusing the function should be prevented if Cyril adds before merge 'static'
keyword to the function (as I suggested earlier).

Kind regards,
Petr

> Thanks for the quick reply, and feel free to merge this one.


More information about the ltp mailing list