Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 22:55:59 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194408 - in head/sys/fs: nfsclient nfsserver
Message-ID:  <200906172255.n5HMtxcT090805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Wed Jun 17 22:55:59 2009
New Revision: 194408
URL: http://svn.freebsd.org/changeset/base/194408

Log:
  Add the SVC_RELEASE(xprt), as required by r194407.
  
  Approved by:	kib (mentor)

Modified:
  head/sys/fs/nfsclient/nfs_clkrpc.c
  head/sys/fs/nfsserver/nfs_nfsdkrpc.c

Modified: head/sys/fs/nfsclient/nfs_clkrpc.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clkrpc.c	Wed Jun 17 22:50:26 2009	(r194407)
+++ head/sys/fs/nfsclient/nfs_clkrpc.c	Wed Jun 17 22:55:59 2009	(r194408)
@@ -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);

Modified: head/sys/fs/nfsserver/nfs_nfsdkrpc.c
==============================================================================
--- head/sys/fs/nfsserver/nfs_nfsdkrpc.c	Wed Jun 17 22:50:26 2009	(r194407)
+++ head/sys/fs/nfsserver/nfs_nfsdkrpc.c	Wed Jun 17 22:55:59 2009	(r194408)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906172255.n5HMtxcT090805>