Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs handle the nuidhash_max lossage differently



details:   https://anonhg.NetBSD.org/src/rev/cddff4f79378
branches:  trunk
changeset: 750441:cddff4f79378
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 31 19:38:16 2009 +0000

description:
handle the nuidhash_max lossage differently

diffstat:

 sys/nfs/files.nfs      |  4 ++--
 sys/nfs/nfs_iod.c      |  6 +++---
 sys/nfs/nfs_syscalls.c |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 685efd468a10 -r cddff4f79378 sys/nfs/files.nfs
--- a/sys/nfs/files.nfs Thu Dec 31 19:31:31 2009 +0000
+++ b/sys/nfs/files.nfs Thu Dec 31 19:38:16 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.nfs,v 1.10 2009/12/31 19:30:45 christos Exp $
+#      $NetBSD: files.nfs,v 1.11 2009/12/31 19:38:16 christos Exp $
 
 deffs  fs_nfs.h                NFS
 
@@ -23,7 +23,7 @@
 file   nfs/nfs_bootparam.c     nfs & nfs_boot_bootparam
 file   nfs/nfs_bootstatic.c    nfs & nfs_boot_bootstatic
 file   nfs/nfs_export.c        nfsserver
-file   nfs/nfs_iod.c           nfsserver | nfs
+file   nfs/nfs_iod.c           nfs
 file   nfs/nfs_kq.c            nfs
 file   nfs/nfs_node.c          nfs
 file   nfs/nfs_serv.c          nfsserver
diff -r 685efd468a10 -r cddff4f79378 sys/nfs/nfs_iod.c
--- a/sys/nfs/nfs_iod.c Thu Dec 31 19:31:31 2009 +0000
+++ b/sys/nfs/nfs_iod.c Thu Dec 31 19:38:16 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_iod.c,v 1.3 2009/03/14 21:04:25 dsl Exp $  */
+/*     $NetBSD: nfs_iod.c,v 1.4 2009/12/31 19:38:16 christos Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_iod.c,v 1.3 2009/03/14 21:04:25 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_iod.c,v 1.4 2009/12/31 19:38:16 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -75,7 +75,7 @@
 #include <nfs/nfsrtt.h>
 #include <nfs/nfs_var.h>
 
-int nuidhash_max = NFS_MAXUIDHASH;
+extern int nuidhash_max;
 
 /*
  * locking order:
diff -r 685efd468a10 -r cddff4f79378 sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c    Thu Dec 31 19:31:31 2009 +0000
+++ b/sys/nfs/nfs_syscalls.c    Thu Dec 31 19:38:16 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_syscalls.c,v 1.151 2009/10/21 21:12:06 rmind Exp $ */
+/*     $NetBSD: nfs_syscalls.c,v 1.152 2009/12/31 19:38:16 christos Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.151 2009/10/21 21:12:06 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.152 2009/12/31 19:38:16 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;
-extern int nuidhash_max;
+int nuidhash_max = NFS_MAXUIDHASH;
 
 static int nfs_numnfsd = 0;
 static struct nfsdrt nfsdrt;



Home | Main Index | Thread Index | Old Index