patch-1.3.39 linux/fs/ext2/super.c
Next file: linux/fs/hpfs/hpfs_caps.c
Previous file: linux/fs/ext/inode.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Nov 9 08:24:08 1995
- Orig file:
v1.3.38/linux/fs/ext2/super.c
- Orig date:
Wed Oct 4 14:14:33 1995
diff -u --recursive --new-file v1.3.38/linux/fs/ext2/super.c linux/fs/ext2/super.c
@@ -13,13 +13,7 @@
* Copyright (C) 1991, 1992 Linus Torvalds
*/
-#ifdef MODULE
#include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
#include <stdarg.h>
@@ -687,16 +681,13 @@
#ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
-
static struct file_system_type ext2_fs_type = {
ext2_read_super, "ext2", 1, NULL
};
int init_module(void)
{
- register_filesystem(&ext2_fs_type);
- return 0;
+ return register_filesystem(&ext2_fs_type);
}
void cleanup_module(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this