OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_73-21-g053522f
Gerrit Code Review
gerrit@openafs.org
Tue, 30 Mar 2010 18:53:51 -0700 (PDT)
The following commit has been merged in the master branch:
commit 053522f534f73f9843a68334158ff98a48d9578e
Author: Ben Kaduk <kaduk@mit.edu>
Date: Tue Mar 30 20:34:02 2010 -0400
Make GCPAGs_perproc_func cleaner for FBSD case
Partially rewrite 2cf1f10a to reduce code clutter.
Instead of accessing pproc->p_ucred directly in afs_GCPAGs_perproc_func(),
push this access into a FBSD-specific afs_proc2cred() function.
This is not quite right, since we do not lock the proc mutex, but
in the same way as the old version and with more reasonable preprocessor
conditionals.
This also eliminates a probably-needless call to osi_Panic.
Change-Id: Ib403132f31cc13f8c4581cb89ecc8938d0a0dd88
Reviewed-on: http://gerrit.openafs.org/1672
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_osi_gcpags.c | 17 +++++++++++++----
src/afs/afs_user.c | 4 ----
2 files changed, 13 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository