From e82d189797156d2ba57db84a8783fbe792ea53d1 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 31 Aug 2023 10:26:37 +0200 Subject: [PATCH] libmount: report statx in features list Let's make statx() support visible in "mount -V" output. Signed-off-by: Karel Zak --- libmount/src/version.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmount/src/version.c b/libmount/src/version.c index 8e5f165f49..894c20c5cb 100644 --- a/libmount/src/version.c +++ b/libmount/src/version.c @@ -44,6 +44,9 @@ static const char *lib_features[] = { #ifdef USE_LIBMOUNT_MOUNTFD_SUPPORT "fd-based-mount", #endif +#if defined(HAVE_STATX) && defined(HAVE_STRUCT_STATX) && defined(AT_STATX_DONT_SYNC) + "statx", +#endif #if !defined(NDEBUG) "assert", /* libc assert.h stuff */ #endif -- 2.47.2