OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2862-ge5ba359
Gerrit Code Review
gerrit@openafs.org
Thu, 30 Aug 2012 09:03:59 -0700 (PDT)
The following commit has been merged in the master branch:
commit e5ba359f64b5d8d874a31a50694398c17f27cfa1
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Aug 29 14:14:39 2012 -0500
LINUX: Detect non-vectorized aio functions
In kernels before 027445c3, the functions generic_file_aio_read and
generic_file_aio_write, as well as the fs operations aio_read and
aio_write, do not deal with iovecs but rather just use a single
buffer. Detect this, so our aio_read and aio_write implementations
have the correct signatures.
This removes several warnings on such kernels.
Change-Id: I70aa0d43bac5545d83710806b58f36d13d7f6cc8
Reviewed-on: http://gerrit.openafs.org/8020
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
acinclude.m4 | 1 +
src/afs/LINUX/osi_vnodeops.c | 37 ++++++++++++++++++++++++++-----------
src/cf/linux-test4.m4 | 14 ++++++++++++++
3 files changed, 41 insertions(+), 11 deletions(-)
--
OpenAFS Master Repository