patch-1.3.58 linux/fs/isofs/inode.c
Next file: linux/fs/minix/inode.c
Previous file: linux/fs/hpfs/hpfs_fs.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jan 15 07:59:10 1996
- Orig file:
v1.3.57/linux/fs/isofs/inode.c
- Orig date:
Tue Dec 26 04:45:38 1995
diff -u --recursive --new-file v1.3.57/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -801,15 +801,23 @@
#endif
-#ifdef MODULE
-
static struct file_system_type iso9660_fs_type = {
isofs_read_super, "iso9660", 1, NULL
};
+int init_iso9660_fs(void)
+{
+ return register_filesystem(&iso9660_fs_type);
+}
+
+#ifdef MODULE
int init_module(void)
{
- return register_filesystem(&iso9660_fs_type);
+ int status;
+
+ if ((status = init_iso9660_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