OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-48-g6133d25

Gerrit Code Review gerrit@openafs.org
Fri, 9 Oct 2009 04:04:44 -0700 (PDT)


The following commit has been merged in the master branch:
commit 6133d25397b8365d450c99b8bc147972f8600074
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Thu Oct 8 21:53:03 2009 -0400

    Linux: kmem_cache_create fix and cleanup
    
    Fix the kmem_cache constructor function to match the current
    expected prototype, and cleanup related code.  This has been wrong
    for a while, but since we were just passing extra parameters the
    only effect was to generate a warning.
    
    - Add a new configure test to detect the new constructor function
    signature
    - Define the older versions of the constructor in osi_compat.h,
    making them call the current version
    - Move a few compatibility #defines to osi_compat.h
    - Clean up the call to kmem_cache_create by introducing an inline
    afs_kmem_cache_create in osi_compat.h
    
    Reviewed-on: http://gerrit.openafs.org/621
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 acinclude.m4               |    1 +
 src/afs/LINUX/osi_compat.h |   50 ++++++++++++++++++++++++++++++++++++++++++++
 src/afs/LINUX/osi_vfsops.c |   39 ++++++----------------------------
 src/cf/linux-test4.m4      |   18 +++++++++++++++
 4 files changed, 76 insertions(+), 32 deletions(-)

-- 
OpenAFS Master Repository