* Every user is a super user
*/
int
-afs_osi_suser(void *credp)
+afs_osi_suser(afs_ucred_t *credp)
{
return 1;
}
int
-afs_suser(void *credp)
+afs_suser(afs_ucred_t *credp)
{
return 1;
}
* These are no-ops in user space
*/
-void
-afs_osi_SetTime(osi_timeval_t * atv)
-{
- return;
-}
-
/*
* xflock should never fall through, the only files we know
* about are AFS files
/* these get freed in PrefetchNoCache, so... */
bparms = afs_osi_Alloc(sizeof(struct nocache_read_request));
- bparms->areq = afs_osi_Alloc(sizeof(struct vrequest));
- code = afs_InitReq(bparms->areq, get_user_struct()->u_cred);
+ code = afs_CreateReq(&bparms->areq, get_user_struct()->u_cred);
if (code) {
- afs_osi_Free(bparms->areq, sizeof(struct vrequest));
+ afs_DestroyReq(bparms->areq);
afs_osi_Free(bparms, sizeof(struct nocache_read_request));
errno = code;
return -1;