forgot one malloc attach/detach

This commit is contained in:
christos 2003-04-22 17:23:47 +00:00
parent 4ecc3047b1
commit 77500fa37f
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ntfs.h,v 1.3 2003/04/09 16:18:56 jdolecek Exp $ */
/* $NetBSD: ntfs.h,v 1.4 2003/04/22 17:23:47 christos Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko
@ -296,6 +296,7 @@ MALLOC_DECLARE(M_NTFSNTNODE);
MALLOC_DECLARE(M_NTFSFNODE);
MALLOC_DECLARE(M_NTFSDIR);
MALLOC_DECLARE(M_NTFSNTHASH);
MALLOC_DECLARE(M_NTFSNTVATTR);
#endif
#ifdef __NetBSD__

View File

@ -1,4 +1,4 @@
/* $NetBSD: ntfs_vfsops.c,v 1.5 2003/04/22 16:48:19 christos Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.6 2003/04/22 17:23:47 christos Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.5 2003/04/22 16:48:19 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.6 2003/04/22 17:23:47 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -210,6 +210,7 @@ ntfs_init()
malloc_type_attach(M_NTFSFNODE);
malloc_type_attach(M_NTFSDIR);
malloc_type_attach(M_NTFSNTHASH);
malloc_type_attach(M_NTFSNTVATTR);
#endif
ntfs_nthashinit();
ntfs_toupper_init();
@ -231,6 +232,7 @@ ntfs_done()
malloc_type_detach(M_NTFSFNODE);
malloc_type_detach(M_NTFSDIR);
malloc_type_detach(M_NTFSNTHASH);
malloc_type_detach(M_NTFSNTVATTR);
#endif
}