[LTP] [PATCH v2] statmount09.c: Enable mnt_ns_id for STATMOUNT_MNT_NS_ID

Jack Morgan jmorgan@naotchy.com
Fri Sep 26 22:31:31 CEST 2025


On 9/26/25 01:22, Andrea Cervesato wrote:
> On 9/26/25 9:32 AM, Andrea Cervesato wrote:
>> +#ifdef HAVE_STRUCT_STATMOUNT_MNT_NS_ID
>> +
> According to the follow-up discussion, this is more correct:
> 
> #if!defined(HAVE_STRUCT_STATMOUNT) ||
> defined(HAVE_STRUCT_STATMOUNT_MNT_NS_ID)

Thank you for the feedback. I'll update my patch with this change and 
send v3 shortly.

For the change to configure.ac, I've sent a separate patch for this[1].

Finally, the suggestion is to then drop patch for statmount.h as checks 
will be in statmount09.c test case, correct?

Is there anything else I'm missing?


[1] 
https://lore.kernel.org/ltp/20250926025318.612308-1-jmorgan@naotchy.com/T/#u


Regards,
Jack Morgan



More information about the ltp mailing list