Add the SVC_RELEASE(xprt), as required by r194407.
Approved by: kib (mentor)
This commit is contained in:
parent
6b97c9f09a
commit
76b30a0cd4
@ -194,6 +194,7 @@ nfscbd_addsock(struct file *fp)
|
||||
fp->f_data = NULL;
|
||||
svc_reg(xprt, NFS_CALLBCKPROG, NFSV4_CBVERS, nfscb_program,
|
||||
NULL);
|
||||
SVC_RELEASE(xprt);
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
@ -372,6 +372,7 @@ nfsrvd_addsock(struct file *fp)
|
||||
if (nfs_maxvers >= NFS_VER4)
|
||||
svc_reg(xprt, NFS_PROG, NFS_VER4, nfssvc_program,
|
||||
NULL);
|
||||
SVC_RELEASE(xprt);
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user