[LTP] [PATCH v5 3/7] lib: Add support for max_kver to struct tst_test and tst_fs

Cyril Hrubis chrubis@suse.cz
Wed Aug 12 13:06:49 CEST 2026


Hi!
> diff --git a/include/tst_test.h b/include/tst_test.h
> index c69362485e..30c32b844e 100644
> --- a/include/tst_test.h
> +++ b/include/tst_test.h
> @@ -280,6 +280,9 @@ struct tst_ulimit_val {
>   *
>   * @min_kver: A minimum kernel version supporting the filesystem which has been
>   *            created with mkfs.
> + *
> + * @max_kver: A maximum kernel version supporting the filesystem which has been
> + *            created with mkfs.
>   */
>  struct tst_fs {
>  	const char *type;
> @@ -292,6 +295,7 @@ struct tst_fs {
>  	const void *mnt_data;
>  
>  	const char *min_kver;
> +	const char *max_kver;

Also I would consider not adding this, it may feel like we are
completing something, but in reality we are adding interface that is
very unlikely to be ever used.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list