From: Anthony Iliopoulos Date: Wed, 13 May 2026 19:30:38 +0000 (+0200) Subject: libfrog: add missing statmount flag definitions X-Git-Tag: v7.0.1~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=877f0e57a10d9eaa81e89c3a7cc5f29710baaa41;p=xfsprogs-dev.git libfrog: add missing statmount flag definitions Add definitions for STATMOUNT_MNT_BASIC and STATMOUNT_MNT_POINT to support compilation of xfs_healer on systems with older kernel headers that predate the statmount syscall (introduced in v6.8). Signed-off-by: Anthony Iliopoulos Reviewed-by: "Darrick J. Wong" --- diff --git a/libfrog/statmount.h b/libfrog/statmount.h index 7e281ce9..b6f13388 100644 --- a/libfrog/statmount.h +++ b/libfrog/statmount.h @@ -52,6 +52,14 @@ struct statmount { /* all the new flags added since the beginning of statmount */ +#ifndef STATMOUNT_MNT_BASIC +#define STATMOUNT_MNT_BASIC 0x00000002U /* Want/got mnt_... */ +#endif + +#ifndef STATMOUNT_MNT_POINT +#define STATMOUNT_MNT_POINT 0x00000010U /* Want/got mnt_point */ +#endif + #ifndef STATMOUNT_MNT_NS_ID #define STATMOUNT_MNT_NS_ID 0x00000040U /* Want/got mnt_ns_id */ #endif