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