From: Anthony Iliopoulos Date: Wed, 13 May 2026 19:30:37 +0000 (+0200) Subject: configure: always check for statmount supported_mask X-Git-Tag: v7.0.1~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5a26358ae3d959a9baa2bc63e45cdd723be8e25a;p=xfsprogs-dev.git configure: always check for statmount supported_mask On systems with kernel headers older than v6.8 that preceed the addition of the statmount syscall, have_listmount will be set to false and thus checking of the statmount supported_mask is being skipped since the check is currently conditional to listmount support. This causes compilation failures since need_internal_statmount will not be set, and thus struct statmount will not be available to xfs_healer. Fix this by always checking for statmount supported_mask support even when listmount is not available. Signed-off-by: Anthony Iliopoulos Reviewed-by: "Darrick J. Wong" --- diff --git a/configure.ac b/configure.ac index 2ac5e3d8..fe2ffddd 100644 --- a/configure.ac +++ b/configure.ac @@ -192,8 +192,8 @@ AC_HAVE_CLOSE_RANGE AC_HAVE_LISTMOUNT if test "$have_listmount" = "yes"; then AC_HAVE_LISTMOUNT_NS_FD - AC_HAVE_STATMOUNT_SUPPORTED_MASK fi +AC_HAVE_STATMOUNT_SUPPORTED_MASK AC_HAVE_FANOTIFY_MOUNTINFO if test "$enable_ubsan" = "yes" || test "$enable_ubsan" = "probe"; then