mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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:
parent
ab08821590
commit
079af80b44
@ -587,7 +587,7 @@ void afs_GCPAGs_perproc_func(AFS_PROC *pproc)
|
|||||||
afs_GCPAGs_cred_count++;
|
afs_GCPAGs_cred_count++;
|
||||||
|
|
||||||
pag = PagInCred(pcred);
|
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);
|
uid = (pag != NOPAG ? pag : pcred->cr_uid);
|
||||||
#else
|
#else
|
||||||
uid = (pag != NOPAG ? pag : pcred->cr_ruid);
|
uid = (pag != NOPAG ? pag : pcred->cr_ruid);
|
||||||
|
Loading…
Reference in New Issue
Block a user