[LTP] [PATCH v2] statmount.h: add check for STATMOUNT_MNT_NS_ID
    Cyril Hrubis 
    chrubis@suse.cz
       
    Fri Sep 26 10:18:12 CEST 2025
    
    
  
Hi!
> Why not just using  "#if!defined(HAVE_STRUCT_STATMOUNT) || 
> defined(HAVE_STRUCT_STATMOUNT_MNT_NS_ID)" inside the statmount09 test 
> then? These LTP_HAVE_* wrappers are a bit weird because they are mixing 
> with internal LTP macros, also considering the fact we are not testing 
> "struct statmount.mnt_ns_id" anywhere else but in statmount09.
Works for me as well, I do not have a strong opinion here.
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list