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)
This commit is contained in:
Rick Macklem 2009-05-11 19:37:05 +00:00
parent 7fb6f68587
commit 1c6c0ed937
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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) {