]> 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>
Tue, 26 Oct 2010 00:50:32 +0000 (17:50 -0700)
commit5728523ec8647d4e9ced717b5a79f34a670cd7c4
tree64492a518763dfacb126cdf0ad1a3ac2435da435
parent072c481194426d26b6d9f5ade108e6b3eff560d0
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: I0f4c548d450b3c1019ff9c013edbc967cafe6c24
Reviewed-on: http://gerrit.openafs.org/3105
Tested-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test4.m4