From: Amir Goldstein Date: Thu, 26 Jan 2017 02:02:42 +0000 (-0600) Subject: xfs_io: fix missing syncfs command X-Git-Tag: v4.10.0-rc1~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb24bcffc067567f585f51f681fe1dd78f496237;p=thirdparty%2Fxfsprogs-dev.git xfs_io: fix missing syncfs command Fixes commit c7dd81c7cd ("xfs_io: add sync and syncfs commands") Signed-off-by: Amir Goldstein Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- diff --git a/configure.ac b/configure.ac index 3a4655fbf..1506b5eb6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/include/builddefs.in b/include/builddefs.in index 18b315b60..94d25fc07 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -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@ diff --git a/m4/package_libcdev.m4 b/m4/package_libcdev.m4 index 7d5a42d2a..bc3b4ceb6 100644 --- a/m4/package_libcdev.m4 +++ b/m4/package_libcdev.m4 @@ -189,7 +189,7 @@ AC_DEFUN([AC_HAVE_SYNCFS], #include ], [ syncfs(0); - ], have_sync_fs=yes + ], have_syncfs=yes AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) AC_SUBST(have_syncfs)