From: Christof Hanke Date: Sun, 29 Jan 2012 17:08:57 +0000 (+0100) Subject: linux: fix probing for noop_fsync X-Git-Tag: upstream/1.8.0_pre1^2~2791 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=20e82cecd9008f9b3467c9a323c5c3abf27f3021;p=packages%2Fo%2Fopenafs.git linux: fix probing for noop_fsync Commit 267934d0e6910c8d8166a6e78f93c1bab40857b8 introduced probing code to deal with the renameing of simple_fsync inside the linux-kernel. This test does not take different parameter-lists for noop_fsync or simple_fsync resp. into account. Fix this. Change-Id: Ib490f0bb7e8098acc83fce001a43c08f478ad582 Reviewed-on: http://gerrit.openafs.org/6628 Reviewed-by: Marc Dionne Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/acinclude.m4 b/acinclude.m4 index d9e6a3552..433542d05 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -902,7 +902,7 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*) [zero_user_segments(NULL, 0, 0, 0, 0);]) AC_CHECK_LINUX_FUNC([noop_fsync], [#include ], - [noop_fsync(NULL, 0, 0, 0);]) + [void *address = &noop_fsync; printk("%p\n", address)];) dnl Consequences - things which get set as a result of the dnl above tests