Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 19:37:05 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192000 - in head/sys/fs: nfs nfsserver
Message-ID:  <200905111937.n4BJb5Ox000328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Mon May 11 19:37:05 2009
New Revision: 192000
URL: http://svn.freebsd.org/changeset/base/192000

Log:
  	Change the name of the nfs server addsock structure from nfsd_args
  	to nfsd_addsock_args, so that it is consistent with the one in
  	sys/nfsserver/nfs.h.
  
  Approved by:	kib (mentor)

Modified:
  head/sys/fs/nfs/nfs.h
  head/sys/fs/nfsserver/nfs_nfsdport.c

Modified: head/sys/fs/nfs/nfs.h
==============================================================================
--- head/sys/fs/nfs/nfs.h	Mon May 11 18:52:46 2009	(r191999)
+++ head/sys/fs/nfs/nfs.h	Mon May 11 19:37:05 2009	(r192000)
@@ -157,7 +157,7 @@
  * Structures for the nfssvc(2) syscall. Not that anyone but nfsd, mount_nfs
  * and nfsloaduser should ever try and use it.
  */
-struct nfsd_args {
+struct nfsd_addsock_args {
 	int	sock;		/* Socket to serve */
 	caddr_t	name;		/* Client addr for connection based sockets */
 	int	namelen;	/* Length of name */

Modified: head/sys/fs/nfsserver/nfs_nfsdport.c
==============================================================================
--- head/sys/fs/nfsserver/nfs_nfsdport.c	Mon May 11 18:52:46 2009	(r191999)
+++ head/sys/fs/nfsserver/nfs_nfsdport.c	Mon May 11 19:37:05 2009	(r192000)
@@ -2866,7 +2866,7 @@ static int
 nfssvc_nfsd(struct thread *td, struct nfssvc_args *uap)
 {
 	struct file *fp;
-	struct nfsd_args nfsdarg;
+	struct nfsd_addsock_args nfsdarg;
 	int error;
 
 	if (uap->flag & NFSSVC_NFSDADDSOCK) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905111937.n4BJb5Ox000328>