patch-1.3.58 linux/fs/ext2/super.c
Next file: linux/fs/filesystems.c
Previous file: linux/fs/ext2/ioctl.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jan 15 07:59:09 1996
- Orig file:
v1.3.57/linux/fs/ext2/super.c
- Orig date:
Mon Dec 11 15:42:04 1995
diff -u --recursive --new-file v1.3.57/linux/fs/ext2/super.c linux/fs/ext2/super.c
@@ -685,15 +685,23 @@
return 0;
}
-#ifdef MODULE
-
static struct file_system_type ext2_fs_type = {
ext2_read_super, "ext2", 1, NULL
};
-int init_module(void)
+int init_ext2_fs(void)
{
return register_filesystem(&ext2_fs_type);
+}
+
+#ifdef MODULE
+int init_module(void)
+{
+ int status;
+
+ if ((status = init_ext2_fs()) == 0)
+ register_symtab(0);
+ return status;
}
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