aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsserver/nfsrvstats.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-05-31 17:27:58 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-05-31 17:27:58 +0000
commite8cf20c8db8a4daada5ab17fcf5186032f2b4e46 (patch)
tree3fc232c2fc0e00d1838b225b48a13a0ee6328139 /sys/nfsserver/nfsrvstats.h
parent8422d3119c713874521e9346f0694a078f9ec7e2 (diff)
downloadsrc-e8cf20c8db8a4daada5ab17fcf5186032f2b4e46.tar.gz
src-e8cf20c8db8a4daada5ab17fcf5186032f2b4e46.zip
NFS Jumbo commit part 1. Cosmetic and structural changes only. The aim
of this part of commits is to minimize unnecessary differences between the other NFS's of similar origin. Yes, there are gratuitous changes here that the style folks won't like, but it makes the catch-up less difficult.
Notes
Notes: svn path=/head/; revision=36503
Diffstat (limited to 'sys/nfsserver/nfsrvstats.h')
-rw-r--r--sys/nfsserver/nfsrvstats.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/nfsserver/nfsrvstats.h b/sys/nfsserver/nfsrvstats.h
index 20093f6f45ea..a2fac0672d0f 100644
--- a/sys/nfsserver/nfsrvstats.h
+++ b/sys/nfsserver/nfsrvstats.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
- * $Id: nfs.h,v 1.35 1998/05/19 07:11:22 peter Exp $
+ * $Id: nfs.h,v 1.36 1998/05/24 14:41:47 peter Exp $
*/
#ifndef _NFS_NFS_H_
@@ -293,14 +293,6 @@ struct nfsstats {
{ "nfsprivport", CTLTYPE_INT }, \
}
-/*
- * Network address hash list element
- */
-union nethostaddr {
- u_long had_inetaddr;
- struct sockaddr *had_nam;
-};
-
#ifdef KERNEL
#ifdef MALLOC_DECLARE
@@ -399,6 +391,14 @@ extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq;
#define NFSNOHASH(fhsum) \
(&nfsnodehashtbl[(fhsum) & nfsnodehash])
+/*
+ * Network address hash list element
+ */
+union nethostaddr {
+ u_long had_inetaddr;
+ struct sockaddr *had_nam;
+};
+
struct nfsuid {
TAILQ_ENTRY(nfsuid) nu_lru; /* LRU chain */
LIST_ENTRY(nfsuid) nu_hash; /* Hash list */