mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +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 defined(AFS_SGI_ENV) || defined(AFS_SUN5_ENV) || defined(AFS_DUX40_ENV) || defined(AFS_LINUX_ENV)
|
||||||
if (cred->cr_ngroups < 2) return NOPAG;
|
if (cred->cr_ngroups < 2) return NOPAG;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
g0 = cred->cr_groups[0];
|
g0 = cred->cr_groups[0];
|
||||||
g1 = cred->cr_groups[1];
|
g1 = cred->cr_groups[1];
|
||||||
|
#endif
|
||||||
pag = (afs_int32)afs_get_pag_from_groups(g0, g1);
|
pag = (afs_int32)afs_get_pag_from_groups(g0, g1);
|
||||||
return pag;
|
return pag;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user