Drop unused 'p' argument to nfsv4_uidtostr().
MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
f32bf2922f
commit
0f86b94a56
@ -424,7 +424,7 @@ nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, enum vtype type,
|
||||
case ACL_USER:
|
||||
name = namestr;
|
||||
nfsv4_uidtostr(aclp->acl_entry[i].ae_id, &name,
|
||||
&namelen, p);
|
||||
&namelen);
|
||||
if (name != namestr)
|
||||
malloced = 1;
|
||||
break;
|
||||
|
@ -2742,7 +2742,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp,
|
||||
break;
|
||||
case NFSATTRBIT_OWNER:
|
||||
cp = namestr;
|
||||
nfsv4_uidtostr(vap->va_uid, &cp, &siz, p);
|
||||
nfsv4_uidtostr(vap->va_uid, &cp, &siz);
|
||||
retnum += nfsm_strtom(nd, cp, siz);
|
||||
if (cp != namestr)
|
||||
free(cp, M_NFSSTRING);
|
||||
@ -3008,7 +3008,7 @@ nfsrv_putattrbit(struct nfsrv_descript *nd, nfsattrbit_t *attrbitp)
|
||||
* retlenp - pointer to length to be returned
|
||||
*/
|
||||
APPLESTATIC void
|
||||
nfsv4_uidtostr(uid_t uid, u_char **cpp, int *retlenp, NFSPROC_T *p)
|
||||
nfsv4_uidtostr(uid_t uid, u_char **cpp, int *retlenp)
|
||||
{
|
||||
int i;
|
||||
struct nfsusrgrp *usrp;
|
||||
|
@ -371,7 +371,7 @@ void nfsrv_fillattr(struct nfsrv_descript *, struct nfsvattr *);
|
||||
void nfsrv_adj(mbuf_t, int, int);
|
||||
void nfsrv_postopattr(struct nfsrv_descript *, int, struct nfsvattr *);
|
||||
int nfsd_errmap(struct nfsrv_descript *);
|
||||
void nfsv4_uidtostr(uid_t, u_char **, int *, NFSPROC_T *);
|
||||
void nfsv4_uidtostr(uid_t, u_char **, int *);
|
||||
int nfsv4_strtouid(struct nfsrv_descript *, u_char *, int, uid_t *,
|
||||
NFSPROC_T *);
|
||||
void nfsv4_gidtostr(gid_t, u_char **, int *, NFSPROC_T *);
|
||||
|
Loading…
Reference in New Issue
Block a user