summaryrefslogtreecommitdiffstats
path: root/sys/sys/namei.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/namei.h')
-rw-r--r--sys/sys/namei.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index 3474c01..bd15fe2 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)namei.h 8.2 (Berkeley) 1/4/94
- * $Id: namei.h,v 1.4 1995/03/06 06:45:47 phk Exp $
+ * $Id: namei.h,v 1.5 1995/03/09 20:27:21 phk Exp $
*/
#ifndef _SYS_NAMEI_H_
@@ -176,8 +176,10 @@ struct namecache {
};
#ifdef KERNEL
-u_long nextvnodeid;
-u_long numvnodes, numcache;
+extern u_long nextvnodeid;
+extern u_long numcache;
+extern u_long numvnodes;
+
int namei __P((struct nameidata *ndp));
int lookup __P((struct nameidata *ndp));
int relookup __P((struct vnode *dvp, struct vnode **vpp,
@@ -197,4 +199,7 @@ struct nchstats {
long ncs_pass2; /* names found with passes == 2 */
long ncs_2passes; /* number of times we attempt it */
};
+
+extern struct nchstats nchstats;
+
#endif /* !_SYS_NAMEI_H_ */
OpenPOWER on IntegriCloud