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

Cyril Hrubis <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.