svn commit: r192613 - head/sys/fs/nfsclient

Rick Macklem rmacklem at FreeBSD.org
Fri May 22 23:22:57 UTC 2009


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;


More information about the svn-src-all mailing list