diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-06-17 22:55:59 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-06-17 22:55:59 +0000 |
commit | 08a5e53744018d9a381623a79a5e329500acccc8 (patch) | |
tree | a2ee94cd4f4f5512c8e6a0699c4e2694be619f59 /sys/fs | |
parent | d88296a89fa7b699f237de7a86e30ce4995a2a4f (diff) | |
download | FreeBSD-src-08a5e53744018d9a381623a79a5e329500acccc8.zip FreeBSD-src-08a5e53744018d9a381623a79a5e329500acccc8.tar.gz |
Add the SVC_RELEASE(xprt), as required by r194407.
Approved by: kib (mentor)
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfsclient/nfs_clkrpc.c | 1 | ||||
-rw-r--r-- | sys/fs/nfsserver/nfs_nfsdkrpc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/nfsclient/nfs_clkrpc.c b/sys/fs/nfsclient/nfs_clkrpc.c index e1ff177..1b6734d 100644 --- a/sys/fs/nfsclient/nfs_clkrpc.c +++ b/sys/fs/nfsclient/nfs_clkrpc.c @@ -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); diff --git a/sys/fs/nfsserver/nfs_nfsdkrpc.c b/sys/fs/nfsserver/nfs_nfsdkrpc.c index b3efc05..20ea1cd 100644 --- a/sys/fs/nfsserver/nfs_nfsdkrpc.c +++ b/sys/fs/nfsserver/nfs_nfsdkrpc.c @@ -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); |