Linux: 3.1: adapt to fsync changes
authorMarc Dionne <marc.c.dionne@gmail.com>
Fri, 2 Sep 2011 21:56:58 +0000 (17:56 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 5 Sep 2011 13:04:00 +0000 (06:04 -0700)
commitcbaefa266d433af3b9a082a360e23a42f161d80f
tree2146b5e4e07fe41ec7ba2fe4782ba311b883c86c
parent20772897654b58da6f7d4cd0bd2caf169abddd50
Linux: 3.1: adapt to fsync changes

The fsync file operation gets new arguments to specify a range.
Add a configure test to check for the API change.

The inode lock is also pushed down into the operation, so we need
to take it ourselves to keep the original behaviour.

Change-Id: Icf4e152ce52f2b32c99920f83a5cc3136c05d2cd
Reviewed-on: http://gerrit.openafs.org/5332
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
acinclude.m4
src/afs/LINUX/osi_vnodeops.c
src/cf/linux-test4.m4