1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Add the SVC_RELEASE(xprt), as required by r194407.

Approved by:	kib (mentor)
This commit is contained in:
Rick Macklem 2009-06-17 22:55:59 +00:00
parent 6b97c9f09a
commit 76b30a0cd4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194408
2 changed files with 2 additions and 0 deletions

View File

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

View File

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