OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-327-gb59af55
Gerrit Code Review
gerrit@openafs.org
Sun, 27 Jun 2010 20:33:57 -0700 (PDT)
The following commit has been merged in the master branch:
commit b59af55f80b2339a93ba985d496b2e9052f29b60
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Fri Jun 25 20:06:08 2010 -0400
Linux: Use filehandles for all 2.6 kernels
This generalizes the use of the exportfs API and file handles
to open disk cache files for all 2.6 kernels.
Code outside of src/afs/LINUX (ex: afsd) can assume that file
handles are used for all 2.6 kernels and can use AFS_LINUX26_ENV
to check.
Within src/afs/LINUX/osi_file.c, NEW_EXPORT_OPS can be used to
determine if the old exportfs API (pre 2.6.24) or the new one
applies.
All traces of the LINUX_USE_FH define are removed.
FIXES 127530
Change-Id: I6803101c56981f9f674cef581f7299656723fdf3
Reviewed-on: http://gerrit.openafs.org/2260
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4 | 6 ----
src/afs/LINUX/osi_compat.h | 49 ++++++++++++++++++++++++++++++
src/afs/LINUX/osi_file.c | 70 +++++++++++++++++---------------------------
src/afs/afs.h | 8 +++--
src/afs/afs_dcache.c | 2 +-
src/afs/sysincludes.h | 2 +-
src/afsd/afsd.c | 14 ++++----
7 files changed, 90 insertions(+), 61 deletions(-)
--
OpenAFS Master Repository