diff options
| author | christos <christos@NetBSD.org> | 2003-04-22 17:23:47 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2003-04-22 17:23:47 +0000 |
| commit | 77500fa37f410789b4832e1b1a0962b94de090dd (patch) | |
| tree | dc894c820e01606b64b7dda7e8f0021145ae5cdd /sys/fs | |
| parent | 4ecc3047b18586806e0f1911c7669d559b69f43d (diff) | |
forgot one malloc attach/detach
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/ntfs/ntfs.h | 3 | ||||
| -rw-r--r-- | sys/fs/ntfs/ntfs_vfsops.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/fs/ntfs/ntfs.h b/sys/fs/ntfs/ntfs.h index d8e8d9d28b7..59d96e791ec 100644 --- a/sys/fs/ntfs/ntfs.h +++ b/sys/fs/ntfs/ntfs.h @@ -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__ diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index 168ae5c8ca3..f675aaaa962 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -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 } |
