diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-09-21 04:24:27 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-09-21 04:24:27 +0000 |
| commit | 99448ed11d42574b59b878cbb42797573b951c6a (patch) | |
| tree | 5ffb25ae92fa6742b04f66ca41cc830e49eb267c /sys/kern/vfs_init.c | |
| parent | 71eed6962e8a97967e48c9c6451dd6e002c59df7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_init.c')
| -rw-r--r-- | sys/kern/vfs_init.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index b52b08b3b8e3..6bf5f6d1359f 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_init.c 8.3 (Berkeley) 1/4/94 - * $Id: vfs_init.c,v 1.26 1997/08/02 14:31:44 bde Exp $ + * $Id: vfs_init.c,v 1.27 1997/09/10 20:11:01 phk Exp $ */ @@ -46,6 +46,7 @@ #include <sys/mount.h> #include <sys/vnode.h> #include <sys/malloc.h> +#include <vm/vm_zone.h> static void vfs_op_init __P((void)); @@ -72,6 +73,11 @@ extern struct vnodeop_desc *vfs_op_descs[]; /* and the operations they perform */ /* + * Zone for namei + */ +struct vm_zone *namei_zone; + +/* * A miscellaneous routine. * A generic "default" routine that just returns an error. */ @@ -234,6 +240,8 @@ vfsinit(dummy) struct vfsconf **vfc; int maxtypenum; + namei_zone = zinit("NAMEI", MAXPATHLEN, 0, 0, 2); + /* * Initialize the vnode table */ |
