]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-linux-gcpags-deal-correctly-with-uid-tokens-20030508
authorDerrick Brashear <shadow@dementia.org>
Thu, 15 May 2003 16:45:39 +0000 (16:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 15 May 2003 16:45:39 +0000 (16:45 +0000)
look at the correct uid, so we don't gc in use tokens

(cherry picked from commit 079af80b44d6175d4def489338a25159aa82a1af)

src/afs/afs_user.c

index ccdb2bbd260f6f2abb8d5dda3a60e1ed27c2b1ad..c6c13358e66a23e53d5ccec5d41e5392b40baf8f 100644 (file)
@@ -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);