patch-1.3.58 linux/fs/ext/inode.c

Next file: linux/fs/ext2/CHANGES
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.57/linux/fs/ext/inode.c linux/fs/ext/inode.c
@@ -451,15 +451,24 @@
 	return err;
 }
 
-#ifdef MODULE
 
 static struct file_system_type ext_fs_type = {
         ext_read_super, "ext", 1, NULL
 };
 
-int init_module(void)
+int init_ext_fs(void)
 {
         return register_filesystem(&ext_fs_type);
+}
+
+#ifdef MODULE
+int init_module(void)
+{
+	int status;
+
+	if ((status = init_ext_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