From 90c1c216a65e37ea4a05f5bca31fb2da768ff519 Mon Sep 17 00:00:00 2001 From: braam Date: Mon, 16 Aug 1999 22:41:25 +0000 Subject: [PATCH] fix the module unloading bug. --- lustre/obdfs/super.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lustre/obdfs/super.c b/lustre/obdfs/super.c index f7b21a1..70f9c0f 100644 --- a/lustre/obdfs/super.c +++ b/lustre/obdfs/super.c @@ -28,12 +28,6 @@ #include <../obd/linux/sim_obd.h> #include -/* DEBUGGING! */ -#undef MOD_INC_USE_COUNT -#define MOD_INC_USE_COUNT -#undef MOD_DEC_USE_COUNT -#define MOD_DEC_USE_COUNT - /* VFS super_block ops */ static struct super_block *obdfs_read_super(struct super_block *, void *, int); static void obdfs_read_inode(struct inode *); @@ -281,6 +275,7 @@ void cleanup_module(void) ENTRY; obdfs_sysctl_clean(); + unregister_filesystem(&obdfs_fs_type); } void obdfs_psdev_dec_use_count(void) { -- 1.8.3.1