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:
parent
7fb6f68587
commit
1c6c0ed937
@ -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 */
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user