patch-1.3.58 linux/fs/filesystems.c
Next file: linux/fs/hpfs/hpfs_fs.c
Previous file: linux/fs/ext2/super.c
Back to the patch index
Back to the overall index
- Lines: 88
- Date:
Mon Jan 15 07:59:09 1996
- Orig file:
v1.3.57/linux/fs/filesystems.c
- Orig date:
Tue Jan 2 16:46:27 1996
diff -u --recursive --new-file v1.3.57/linux/fs/filesystems.c linux/fs/filesystems.c
@@ -44,74 +44,55 @@
device_setup();
#ifdef CONFIG_EXT_FS
- register_filesystem(&(struct file_system_type)
- {ext_read_super, "ext", 1, NULL});
+ init_ext_fs();
#endif
#ifdef CONFIG_EXT2_FS
- register_filesystem(&(struct file_system_type)
- {ext2_read_super, "ext2", 1, NULL});
+ init_ext2_fs();
#endif
#ifdef CONFIG_XIA_FS
- register_filesystem(&(struct file_system_type)
- {xiafs_read_super, "xiafs", 1, NULL});
+ init_xiafs_fs();
#endif
#ifdef CONFIG_MINIX_FS
- register_filesystem(&(struct file_system_type)
- {minix_read_super, "minix", 1, NULL});
+ init_minix_fs();
#endif
#ifdef CONFIG_UMSDOS_FS
- register_filesystem(&(struct file_system_type)
- {UMSDOS_read_super, "umsdos", 1, NULL});
+ init_umsdos_fs();
#endif
#ifdef CONFIG_MSDOS_FS
- register_filesystem(&(struct file_system_type)
- {msdos_read_super, "msdos", 1, NULL});
+ init_msdos_fs();
#endif
#ifdef CONFIG_PROC_FS
- register_filesystem(&(struct file_system_type)
- {proc_read_super, "proc", 0, NULL});
+ init_proc_fs();
#endif
#ifdef CONFIG_NFS_FS
- register_filesystem(&(struct file_system_type)
- {nfs_read_super, "nfs", 0, NULL});
+ init_nfs_fs();
#endif
#ifdef CONFIG_SMB_FS
- register_filesystem(&(struct file_system_type)
- {smb_read_super, "smbfs", 0, NULL});
+ init_smb_fs();
#endif
#ifdef CONFIG_NCP_FS
- register_filesystem(&(struct file_system_type)
- {ncp_read_super, "ncpfs", 0, NULL});
+ init_ncp_fs();
#endif
#ifdef CONFIG_ISO9660_FS
- register_filesystem(&(struct file_system_type)
- {isofs_read_super, "iso9660", 1, NULL});
+ init_iso9660_fs();
#endif
#ifdef CONFIG_SYSV_FS
- register_filesystem(&(struct file_system_type)
- {sysv_read_super, "xenix", 1, NULL});
-
- register_filesystem(&(struct file_system_type)
- {sysv_read_super, "sysv", 1, NULL});
-
- register_filesystem(&(struct file_system_type)
- {sysv_read_super, "coherent", 1, NULL});
+ init_sysv_fs();
#endif
#ifdef CONFIG_HPFS_FS
- register_filesystem(&(struct file_system_type)
- {hpfs_read_super, "hpfs", 1, NULL});
+ init_hpfs_fs();
#endif
#ifdef CONFIG_ROOT_NFS
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