svn commit: r345062 - head/sys/fs/nfs
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Mar 12 14:59:09 UTC 2019
Author: trasz
Date: Tue Mar 12 14:59:08 2019
New Revision: 345062
URL: https://svnweb.freebsd.org/changeset/base/345062
Log:
Drop unused 'p' argument to nfsv4_uidtostr().
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Modified:
head/sys/fs/nfs/nfs_commonacl.c
head/sys/fs/nfs/nfs_commonsubs.c
head/sys/fs/nfs/nfs_var.h
Modified: head/sys/fs/nfs/nfs_commonacl.c
==============================================================================
--- head/sys/fs/nfs/nfs_commonacl.c Tue Mar 12 14:53:53 2019 (r345061)
+++ head/sys/fs/nfs/nfs_commonacl.c Tue Mar 12 14:59:08 2019 (r345062)
@@ -424,7 +424,7 @@ nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *ac
case ACL_USER:
name = namestr;
nfsv4_uidtostr(aclp->acl_entry[i].ae_id, &name,
- &namelen, p);
+ &namelen);
if (name != namestr)
malloced = 1;
break;
Modified: head/sys/fs/nfs/nfs_commonsubs.c
==============================================================================
--- head/sys/fs/nfs/nfs_commonsubs.c Tue Mar 12 14:53:53 2019 (r345061)
+++ head/sys/fs/nfs/nfs_commonsubs.c Tue Mar 12 14:59:08 2019 (r345062)
@@ -2742,7 +2742,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount
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
* 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;
Modified: head/sys/fs/nfs/nfs_var.h
==============================================================================
--- head/sys/fs/nfs/nfs_var.h Tue Mar 12 14:53:53 2019 (r345061)
+++ head/sys/fs/nfs/nfs_var.h Tue Mar 12 14:59:08 2019 (r345062)
@@ -371,7 +371,7 @@ void nfsrv_fillattr(struct nfsrv_descript *, struct nf
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 *);
More information about the svn-src-all
mailing list