]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: kmem_cache_create fix and cleanup
authorMarc Dionne <marc.c.dionne@gmail.com>
Fri, 9 Oct 2009 01:53:03 +0000 (21:53 -0400)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 14 Jan 2010 15:35:30 +0000 (07:35 -0800)
commitfcddefb76af8a5bed1729ddbc6e2db9d3f3040ca
treebbb141168b736a6366f0fff17f9423d3fe2b3383
parentcad2fd2fc262b17beccb69695efb163f53cf9990
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

(cherry picked from 3abc87a5a94f0d5eaca702c7bd66fbe35ce7b896)
Reviewed-on: http://gerrit.openafs.org/657
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Change-Id: I3570a3268d35ac73409b96816ba5112f809f6645
Reviewed-on: http://gerrit.openafs.org/994
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/afs/LINUX/osi_compat.h [new file with mode: 0644]
src/afs/LINUX/osi_vfsops.c
src/cf/linux-test4.m4