Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs put nuidhash_max in a file that is shared between se...
details: https://anonhg.NetBSD.org/src/rev/244a78ebfda2
branches: trunk
changeset: 750443:244a78ebfda2
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 31 20:01:33 2009 +0000
description:
put nuidhash_max in a file that is shared between server and client code.
diffstat:
sys/nfs/nfs_subs.c | 5 +++--
sys/nfs/nfs_syscalls.c | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r 820f806b76c7 -r 244a78ebfda2 sys/nfs/nfs_subs.c
--- a/sys/nfs/nfs_subs.c Thu Dec 31 19:59:31 2009 +0000
+++ b/sys/nfs/nfs_subs.c Thu Dec 31 20:01:33 2009 +0000
@@ -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
diff -r 820f806b76c7 -r 244a78ebfda2 sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c Thu Dec 31 19:59:31 2009 +0000
+++ b/sys/nfs/nfs_syscalls.c Thu Dec 31 20:01:33 2009 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index