diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
| commit | a1c995b626fc56226f7c279f087b50769ff8df18 (patch) | |
| tree | 26917801933240b41539e26bd8cb5dc27d8597a1 /sys/isofs | |
| parent | 175dffc0f66eae582032914b7ecddc666edd4e83 (diff) | |
Notes
Diffstat (limited to 'sys/isofs')
| -rw-r--r-- | sys/isofs/cd9660/cd9660_node.h | 7 | ||||
| -rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.h b/sys/isofs/cd9660/cd9660_node.h index a1ab0b190f919..92e214f07bec4 100644 --- a/sys/isofs/cd9660/cd9660_node.h +++ b/sys/isofs/cd9660/cd9660_node.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_node.h 8.6 (Berkeley) 5/14/95 - * $Id: cd9660_node.h,v 1.11 1997/04/14 18:15:45 phk Exp $ + * $Id: cd9660_node.h,v 1.12 1997/08/26 07:32:31 phk Exp $ */ /* @@ -92,6 +92,11 @@ struct iso_node { #define VTOI(vp) ((struct iso_node *)(vp)->v_data) #define ITOV(ip) ((ip)->i_vnode) +#ifdef MALLOC_DECLARE +MALLOC_DECLARE(M_ISOFSMNT); +MALLOC_DECLARE(M_ISOFSNODE); +#endif + /* * Prototypes for ISOFS vnode operations */ diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index b29a042a69088..3d23f09bd330d 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.28 1997/09/07 16:20:42 bde Exp $ + * $Id: cd9660_vfsops.c,v 1.29 1997/09/27 13:38:48 kato Exp $ */ #include <sys/param.h> @@ -59,6 +59,8 @@ #include <isofs/cd9660/cd9660_node.h> #include <isofs/cd9660/cd9660_mount.h> +MALLOC_DEFINE(M_ISOFSMNT, "ISOFS mount", "ISOFS mount structure"); +MALLOC_DEFINE(M_ISOFSNODE, "ISOFS node", "ISOFS vnode private part"); static int cd9660_mount __P((struct mount *, char *, caddr_t, struct nameidata *, struct proc *)); |
