Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f35a4b4
)
fix the module unloading bug.
author
braam
<braam>
Mon, 16 Aug 1999 22:41:25 +0000
(22:41 +0000)
committer
braam
<braam>
Mon, 16 Aug 1999 22:41:25 +0000
(22:41 +0000)
lustre/obdfs/super.c
patch
|
blob
|
history
diff --git
a/lustre/obdfs/super.c
b/lustre/obdfs/super.c
index
f7b21a1
..
70f9c0f
100644
(file)
--- a/
lustre/obdfs/super.c
+++ b/
lustre/obdfs/super.c
@@
-28,12
+28,6
@@
#include <../obd/linux/sim_obd.h>
#include <obdfs.h>
#include <../obd/linux/sim_obd.h>
#include <obdfs.h>
-/* 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 *);
/* 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();
ENTRY;
obdfs_sysctl_clean();
+ unregister_filesystem(&obdfs_fs_type);
}
void obdfs_psdev_dec_use_count(void)
{
}
void obdfs_psdev_dec_use_count(void)
{