OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-58-gdc85abc
Gerrit Code Review
gerrit@openafs.org
Wed, 11 Nov 2009 13:33:51 -0800 (PST)
The following commit has been merged in the master branch:
commit dc85abcaa6e3423452078e36bbfcd281e613c407
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Thu Oct 29 19:58:00 2009 -0400
Linux: Use the kernel's credentials structure
Recent kernels (2.6.29 and above) have a separate ref-counted
structure for holding credentials. Use it directly instead of
keeping a separate afs specific structure that shadows the same
information.
Also adapt Linux for the change from cr_xxx to afs_cr_xxx wrappers.
Reference counting is done with the appropriate get/put calls.
Change-Id: I1135bb5a66cda51cee4fa9f3f3e63eaa9af28f61
Reviewed-on: http://gerrit.openafs.org/797
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_cred.c | 71 ++++++++++++++++++++++++---------------
src/afs/LINUX/osi_groups.c | 8 ++--
src/afs/LINUX/osi_machdep.h | 79 +++++++++++++++++++++++++++++++------------
src/afs/afs.h | 8 ++++-
src/afs/afs_osi.c | 2 +-
src/afs/afs_osi_pag.c | 8 ++--
6 files changed, 117 insertions(+), 59 deletions(-)
--
OpenAFS Master Repository