[LTP] [PATCH v2] statmount.h: add check for STATMOUNT_MNT_NS_ID

Andrea Cervesato andrea.cervesato@suse.com
Fri Sep 26 09:33:24 CEST 2025


Hi!

On 9/26/25 6:07 AM, Jack Morgan wrote:
> +/* Enable STATMOUNT_MNT_NS_ID check for struct statmount. */
> +#if!defined(HAVE_STRUCT_STATMOUNT) || defined(HAVE_STRUCT_STATMOUNT_MNT_NS_ID)
> +#define LTP_HAVE_STRUCT_STATMOUNT_MNT_NS_ID 1
> +#endif

This is not a good practice, better to avoid defining LTP_* wrappers, 
since we already have the HAVE_* variables defined by autoconf.

- Andrea



More information about the ltp mailing list