Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2009 23:22:56 +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: r192613 - head/sys/fs/nfsclient
Message-ID:  <200905222322.n4MNMuCM022207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Fri May 22 23:22:56 2009
New Revision: 192613
URL: http://svn.freebsd.org/changeset/base/192613

Log:
  Change the sysctl_base argument to svcpool_create() to NULL for
  client side callbacks so that leaf names are not re-used,
  since they are already being used by the server.
  
  Approved by:	kib (mentor)

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

Modified: head/sys/fs/nfsclient/nfs_clkrpc.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clkrpc.c	Fri May 22 23:03:15 2009	(r192612)
+++ head/sys/fs/nfsclient/nfs_clkrpc.c	Fri May 22 23:22:56 2009	(r192613)
@@ -289,7 +289,7 @@ nfsrvd_cbinit(int terminating)
 
 	NFSD_UNLOCK();
 
-	nfscbd_pool = svcpool_create("nfscbd", SYSCTL_STATIC_CHILDREN(_vfs_newnfs));
+	nfscbd_pool = svcpool_create("nfscbd", NULL);
 	nfscbd_pool->sp_rcache = NULL;
 	nfscbd_pool->sp_assign = NULL;
 	nfscbd_pool->sp_done = NULL;



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