diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-29 09:25:05 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-29 09:25:05 +0000 |
commit | 236ff0b91447f3ca43d97ac33e3181bd9ac3c910 (patch) | |
tree | f02e4b2e96ef542325efc1d007a83a7cb8f15b2b /sys/nfs/nfs_srvcache.c | |
parent | 9506179fee98a41211223399a1f10c4639d0690c (diff) |
From NetBSD: merge with 960217 (still NFSv2)
Diffstat (limited to 'sys/nfs/nfs_srvcache.c')
-rw-r--r-- | sys/nfs/nfs_srvcache.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/nfs/nfs_srvcache.c b/sys/nfs/nfs_srvcache.c index 9e2d9ea0a35..169e2598f78 100644 --- a/sys/nfs/nfs_srvcache.c +++ b/sys/nfs/nfs_srvcache.c @@ -1,4 +1,5 @@ -/* $NetBSD: nfs_srvcache.c,v 1.10 1994/12/13 17:17:03 mycroft Exp $ */ +/* $OpenBSD: nfs_srvcache.c,v 1.2 1996/02/29 09:24:55 niklas Exp $ */ +/* $NetBSD: nfs_srvcache.c,v 1.11 1996/02/09 21:48:32 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -64,6 +65,7 @@ #include <nfs/nfs.h> #include <nfs/nfsrvcache.h> #include <nfs/nqnfs.h> +#include <nfs/nfs_var.h> long numnfsrvcache, desirednfsrvcache = NFSRVCACHESIZ; @@ -138,6 +140,7 @@ static int repliesstatus[NFS_NPROCS] = { /* * Initialize the server request cache list */ +void nfsrv_initcache() { @@ -159,6 +162,7 @@ nfsrv_initcache() * return DOIT * Update/add new request at end of lru list */ +int nfsrv_getcache(nam, nd, repp) struct mbuf *nam; register struct nfsd *nd; |