OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-21-g846c282
Gerrit Code Review
gerrit@openafs.org
Sun, 20 Dec 2009 10:05:18 -0800 (PST)
The following commit has been merged in the master branch:
commit 846c28282fb4ccd2136e3e27b60b9363ea7f759e
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Sat Dec 19 21:53:54 2009 +0000
Fix PAGs for all platforms without Linux keyrings
The changes in 7b272177de4c6f78db7f2315f4e30e85ab7660bb sadly break
all platforms which aren't Linux. This is because the logic in PagInCred
doesn't handle the non-Linux case at all. Fix this so that we call
afs_get_group_pag whenever we're not running on Linux.
The code also doesn't match the comment - Linux kernels which don't
have keyrings should use afs_get_group_pag(), regardless of whether
STRUCT_TASK_HAS_CRED. It's unlikely this bit would ever bite anyone
though, kernels with cred support almost certainly require keyrings.
Change-Id: I5373da51151229dc13b6dc60c3cf10700f0f881a
Reviewed-on: http://gerrit.openafs.org/1006
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_osi_pag.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository