Module Name:    src
Committed By:   christos
Date:           Thu Dec 31 20:01:33 UTC 2009

Modified Files:
        src/sys/nfs: nfs_subs.c nfs_syscalls.c

Log Message:
put nuidhash_max in a file that is shared between server and client code.


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/nfs/nfs_subs.c
cvs rdiff -u -r1.152 -r1.153 src/sys/nfs/nfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/nfs/nfs_subs.c
diff -u src/sys/nfs/nfs_subs.c:1.217 src/sys/nfs/nfs_subs.c:1.218
--- src/sys/nfs/nfs_subs.c:1.217	Thu May 14 11:42:22 2009
+++ src/sys/nfs/nfs_subs.c	Thu Dec 31 15:01:33 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_subs.c,v 1.217 2009/05/14 15:42:22 yamt Exp $	*/
+/*	$NetBSD: nfs_subs.c,v 1.218 2009/12/31 20:01:33 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.217 2009/05/14 15:42:22 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_subs.c,v 1.218 2009/12/31 20:01:33 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "fs_nfs.h"
@@ -118,6 +118,7 @@
 
 static u_int32_t nfs_xid;
 
+int nuidhash_max = NFS_MAXUIDHASH;
 /*
  * Data items converted to xdr at startup, since they are constant
  * This is kinda hokey, but may save a little time doing byte swaps

Index: src/sys/nfs/nfs_syscalls.c
diff -u src/sys/nfs/nfs_syscalls.c:1.152 src/sys/nfs/nfs_syscalls.c:1.153
--- src/sys/nfs/nfs_syscalls.c:1.152	Thu Dec 31 14:38:16 2009
+++ src/sys/nfs/nfs_syscalls.c	Thu Dec 31 15:01:33 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: nfs_syscalls.c,v 1.152 2009/12/31 19:38:16 christos Exp $	*/
+/*	$NetBSD: nfs_syscalls.c,v 1.153 2009/12/31 20:01:33 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.152 2009/12/31 19:38:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.153 2009/12/31 20:01:33 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -79,7 +79,7 @@
 						struct nfssvc_sock *,
 						struct lwp *, struct mbuf **);
 extern int nfsrvw_procrastinate;
-int nuidhash_max = NFS_MAXUIDHASH;
+extern int nuidhash_max;
 
 static int nfs_numnfsd = 0;
 static struct nfsdrt nfsdrt;

Reply via email to