svn commit: r345064 - head/sys/fs/nfs
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Mar 12 15:05:12 UTC 2019
Author: trasz
Date: Tue Mar 12 15:05:11 2019
New Revision: 345064
URL: https://svnweb.freebsd.org/changeset/base/345064
Log:
Drop unused 'p' argument to nfsv4_gidtostr().
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 15:02:52 2019 (r345063)
+++ head/sys/fs/nfs/nfs_commonacl.c Tue Mar 12 15:05:11 2019 (r345064)
@@ -432,7 +432,7 @@ nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *ac
isgroup = 1;
name = namestr;
nfsv4_gidtostr((gid_t)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 15:02:52 2019 (r345063)
+++ head/sys/fs/nfs/nfs_commonsubs.c Tue Mar 12 15:05:11 2019 (r345064)
@@ -2749,7 +2749,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount
break;
case NFSATTRBIT_OWNERGROUP:
cp = namestr;
- nfsv4_gidtostr(vap->va_gid, &cp, &siz, p);
+ nfsv4_gidtostr(vap->va_gid, &cp, &siz);
retnum += nfsm_strtom(nd, cp, siz);
if (cp != namestr)
free(cp, M_NFSSTRING);
@@ -3267,7 +3267,7 @@ out:
* retlenp - pointer to length to be returned
*/
APPLESTATIC void
-nfsv4_gidtostr(gid_t gid, u_char **cpp, int *retlenp, NFSPROC_T *p)
+nfsv4_gidtostr(gid_t gid, 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 15:02:52 2019 (r345063)
+++ head/sys/fs/nfs/nfs_var.h Tue Mar 12 15:05:11 2019 (r345064)
@@ -373,7 +373,7 @@ void nfsrv_postopattr(struct nfsrv_descript *, int, st
int nfsd_errmap(struct nfsrv_descript *);
void nfsv4_uidtostr(uid_t, u_char **, int *);
int nfsv4_strtouid(struct nfsrv_descript *, u_char *, int, uid_t *);
-void nfsv4_gidtostr(gid_t, u_char **, int *, NFSPROC_T *);
+void nfsv4_gidtostr(gid_t, u_char **, int *);
int nfsv4_strtogid(struct nfsrv_descript *, u_char *, int, gid_t *,
NFSPROC_T *);
int nfsrv_checkuidgid(struct nfsrv_descript *, struct nfsvattr *);
More information about the svn-src-all
mailing list