diff options
| author | Karel Zak <kzak@redhat.com> | 2023-08-31 10:26:37 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2023-08-31 10:26:37 +0200 |
| commit | e82d189797156d2ba57db84a8783fbe792ea53d1 (patch) | |
| tree | 4e837a64d34f0abbe3fc99970837440353f930f7 /libmount/src | |
| parent | 7d679f29aee9f56b07bd792e07b5b4e1ca2f3fa7 (diff) | |
| download | util-linux-e82d189797156d2ba57db84a8783fbe792ea53d1.tar.gz | |
libmount: report statx in features list
Let's make statx() support visible in "mount -V" output.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src')
| -rw-r--r-- | libmount/src/version.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
