]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: report statx in features list
authorKarel Zak <kzak@redhat.com>
Thu, 31 Aug 2023 08:26:37 +0000 (10:26 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 31 Aug 2023 08:26:37 +0000 (10:26 +0200)
Let's make statx() support visible in "mount -V" output.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/version.c

index 8e5f165f4920a0eae6aa5042621842ef62deebca..894c20c5cb88726d7165b35af6b715905b1dc048 100644 (file)
@@ -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