diff options
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs.h | 6 | ||||
-rw-r--r-- | sys/nfsclient/nfs_node.c | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index b1a2929..f231fb9 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.h @@ -200,12 +200,6 @@ extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq; #define R_MUSTRESEND 0x40 /* Must resend request */ #define R_GETONEREP 0x80 /* Probe for one reply only */ -extern struct nfsnodehashhead *nfsnodehashtbl; -extern u_long nfsnodehash; - -#define NFSNOHASH(fhsum) \ - (&nfsnodehashtbl[(fhsum) & nfsnodehash]) - /* * Defines for WebNFS */ diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index bdf22bd..30f4aff 100644 --- a/sys/nfsclient/nfs_node.c +++ b/sys/nfsclient/nfs_node.c @@ -64,6 +64,9 @@ static LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl; static u_long nfsnodehash; static int nfs_node_hash_lock; +#define NFSNOHASH(fhsum) \ + (&nfsnodehashtbl[(fhsum) & nfsnodehash]) + #define TRUE 1 #define FALSE 0 |