From 20e82cecd9008f9b3467c9a323c5c3abf27f3021 Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Sun, 29 Jan 2012 18:08:57 +0100 Subject: [PATCH] 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 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index d9e6a35..433542d 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 -- 1.9.4