From: Amir Goldstein <amir73il@gmail.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: linux-xfs@vger.kernel.org
Subject: [PATCH] xfs_io: fix missing syncfs command
Date: Fri, 20 Jan 2017 11:21:58 +0200 [thread overview]
Message-ID: <1484904118-17703-1-git-send-email-amir73il@gmail.com> (raw)
Fixes commit c7dd81c7cd ("xfs_io: add sync and syncfs commands")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
---
configure.ac | 1 +
include/builddefs.in | 1 +
m4/package_libcdev.m4 | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 3a4655f..1506b5e 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 612b547..ec1fe61 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 7d5a42d..bc3b4ce 100644
--- a/m4/package_libcdev.m4
+++ b/m4/package_libcdev.m4
@@ -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)
--
2.7.4
next reply other threads:[~2017-01-20 9:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 9:21 Amir Goldstein [this message]
2017-01-20 10:05 ` [PATCH] xfs_io: fix missing syncfs command Christoph Hellwig
2017-01-20 10:53 ` Amir Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484904118-17703-1-git-send-email-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=linux-xfs@vger.kernel.org \
--cc=sandeen@sandeen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox