mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
darwin-pagincred-will-notice-pags-20010406
make PagInCred notice pags on darwin
This commit is contained in:
parent
c0742b1f50
commit
cc05bd3425
@ -296,10 +296,10 @@ afs_int32 PagInCred(const struct AFS_UCRED *cred)
|
||||
#if defined(AFS_SGI_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_DUX40_ENV) || defined(AFS_LINUX_ENV)
|
||||
if (cred->cr_ngroups < 2) return NOPAG;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
g0 = cred->cr_groups[0];
|
||||
g1 = cred->cr_groups[1];
|
||||
#endif
|
||||
pag = (afs_int32)afs_get_pag_from_groups(g0, g1);
|
||||
return pag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user