]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: fix statfs configure test
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 13 Oct 2010 23:11:25 +0000 (19:11 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 15 Dec 2010 09:44:21 +0000 (01:44 -0800)
commitfa0aca7bde6b8de3071b2b1809acaf9760842485
tree87b05e5919f6267934d82164eebae1489d18b480
parent4fcda9a268b58c784673fd3f250f888bd6ddb35f
Linux: fix statfs configure test

The change to the statfs configure test that was made for 2.6.36
broke the test for older kernels.  The new test is based on a call,
and that will generate a warning but not an error when the arguments
don't match the prototype.

Take another tack, and revert to the old style test, but with the
simple_statfs function instead of vfs_statfs.

Reviewed-on: http://gerrit.openafs.org/2975
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 59927e20052c3f075e0269e46691bc94c3974f86)

Change-Id: Iaee4e3d62ce95c33539ba57c19ddc916b097deb2
Reviewed-on: http://gerrit.openafs.org/3521
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test4.m4