]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_io: fix missing syncfs command
authorAmir Goldstein <amir73il@gmail.com>
Thu, 26 Jan 2017 02:02:42 +0000 (20:02 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 26 Jan 2017 02:02:42 +0000 (20:02 -0600)
Fixes commit c7dd81c7cd ("xfs_io: add sync and syncfs commands")

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
configure.ac
include/builddefs.in
m4/package_libcdev.m4

index 3a4655fbf13b28a62afd2156bb08fe0d9c31478c..1506b5eb6d94277e22a9f7087d5bb65f8c661b5b 100644 (file)
@@ -135,6 +135,7 @@ AC_HAVE_FIEMAP
 AC_HAVE_PREADV
 AC_HAVE_COPY_FILE_RANGE
 AC_HAVE_SYNC_FILE_RANGE
+AC_HAVE_SYNCFS
 AC_HAVE_MNTENT
 AC_HAVE_FLS
 AC_HAVE_READDIR
index 18b315b60e192332f8944c8ea46f1e614f272f32..94d25fc075fb347730258d0bca46fb3d3d9a0a75 100644 (file)
@@ -105,6 +105,7 @@ HAVE_FIEMAP = @have_fiemap@
 HAVE_PREADV = @have_preadv@
 HAVE_COPY_FILE_RANGE = @have_copy_file_range@
 HAVE_SYNC_FILE_RANGE = @have_sync_file_range@
+HAVE_SYNCFS = @have_syncfs@
 HAVE_READDIR = @have_readdir@
 HAVE_MNTENT = @have_mntent@
 HAVE_FLS = @have_fls@
index 7d5a42d2a7bfc84139242a25b1f3627d6f4dcce5..bc3b4ceb6e61535a21647dcf19d8bfe349b6f94a 100644 (file)
@@ -189,7 +189,7 @@ AC_DEFUN([AC_HAVE_SYNCFS],
 #include <unistd.h>
     ], [
          syncfs(0);
-    ], have_sync_fs=yes
+    ], have_syncfs=yes
        AC_MSG_RESULT(yes),
        AC_MSG_RESULT(no))
     AC_SUBST(have_syncfs)