From 293074e6486eeb0f4d555b6b4bbb6cd080d8ad41 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Tue, 8 Apr 2003 16:26:31 +0000 Subject: [PATCH] attach/detach also malloc type M_SMBFSHASH ('oops') --- sys/fs/smbfs/smbfs_vfsops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 3c1acb72f2fe..cf7cab2f3065 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: smbfs_vfsops.c,v 1.23 2003/04/02 16:26:53 jdolecek Exp $ */ +/* $NetBSD: smbfs_vfsops.c,v 1.24 2003/04/08 16:26:31 jdolecek Exp $ */ /* * Copyright (c) 2000-2001, Boris Popov @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.23 2003/04/02 16:26:53 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.24 2003/04/08 16:26:31 jdolecek Exp $"); #include #include @@ -345,6 +345,7 @@ smbfs_init(void) /* Need explicit attach if LKM */ malloc_type_attach(M_SMBNODENAME); malloc_type_attach(M_SMBFSDATA); + malloc_type_attach(M_SMBFSHASH); #endif SMBVDEBUG("init.\n"); @@ -367,6 +368,7 @@ smbfs_done(void) /* Need explicit detach if LKM */ malloc_type_detach(M_SMBNODENAME); malloc_type_detach(M_SMBFSDATA); + malloc_type_detach(M_SMBFSHASH); #endif SMBVDEBUG("done.\n");