OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-35-gba1d050
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Aug 2010 09:20:41 -0700 (PDT)
The following commit has been merged in the master branch:
commit ba1d050c6e8c9593dfa3d914f9d24e2bd985abe0
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sun Feb 7 15:15:26 2010 +0100
Make unixuser's vid advisory
The 'vid' element of the unixuser structure was performing two
functions. It was used in debug messages to clarify which user's
token had expired and, in a few locations, to signify whether the
user had tokens or not.
This patch removes this dual usage. 'vid' is renamed to viceId, so
all uses are found and fixed. Where it is used for debugging, it remains,
but we only set the viceId for a user when we first use an rxkad token
on that context. Other uses of 'vid' have been replaced with tests
against the UHasTokens flag in the user's states.
Change-Id: Ifc0306a34fb7360810c792215e55e783f1dd062c
Reviewed-on: http://gerrit.openafs.org/2581
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/IRIX/osi_idbg.c | 4 ++--
src/afs/LINUX/osi_proc.c | 2 +-
src/afs/LINUX24/osi_proc.c | 2 +-
src/afs/VNOPS/afs_vnop_access.c | 3 +--
src/afs/afs.h | 2 +-
src/afs/afs_analyze.c | 6 +++---
src/afs/afs_conn.c | 8 +++++---
src/afs/afs_nfsclnt.c | 2 +-
src/afs/afs_pag_cred.c | 5 ++---
src/afs/afs_pioctl.c | 5 +----
src/afs/afs_user.c | 15 ++++-----------
11 files changed, 22 insertions(+), 32 deletions(-)
--
OpenAFS Master Repository