From: Derrick Brashear Date: Thu, 15 May 2003 16:45:39 +0000 (+0000) Subject: STABLE12-linux-gcpags-deal-correctly-with-uid-tokens-20030508 X-Git-Tag: openafs-stable-1_2_10~76 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=33fbd5f7b0c977e405a4456d581100a867854c32;p=packages%2Fo%2Fopenafs.git STABLE12-linux-gcpags-deal-correctly-with-uid-tokens-20030508 look at the correct uid, so we don't gc in use tokens (cherry picked from commit 079af80b44d6175d4def489338a25159aa82a1af) --- diff --git a/src/afs/afs_user.c b/src/afs/afs_user.c index ccdb2bbd2..c6c13358e 100644 --- a/src/afs/afs_user.c +++ b/src/afs/afs_user.c @@ -610,7 +610,7 @@ void afs_GCPAGs_perproc_func(AFS_PROC *pproc) afs_GCPAGs_cred_count++; pag = PagInCred(pcred); -#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV) +#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV) || defined(AFS_LINUX22_ENV) uid = (pag != NOPAG ? pag : pcred->cr_uid); #else uid = (pag != NOPAG ? pag : pcred->cr_ruid);