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) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to