linux-gcpags-deal-correctly-with-uid-tokens-20030508

look at the correct uid, so we don't gc in use tokens
This commit is contained in:
Derrick Brashear 2003-05-08 19:53:48 +00:00
parent ab08821590
commit 079af80b44

View File

@ -587,7 +587,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);