2 * linux/fs/filesystems.c
4 * Copyright (C) 1991, 1992 Linus Torvalds
6 * table of configured filesystems
9 #include <linux/config.h>
12 #include <linux/minix_fs.h>
13 #include <linux/ext2_fs.h>
14 #include <linux/msdos_fs.h>
15 #include <linux/umsdos_fs.h>
16 #include <linux/proc_fs.h>
17 #include <linux/nfs_fs.h>
18 #include <linux/iso_fs.h>
19 #include <linux/sysv_fs.h>
20 #include <linux/hpfs_fs.h>
21 #include <linux/smb_fs.h>
22 #include <linux/ncp_fs.h>
23 #include <linux/affs_fs.h>
24 #include <linux/ufs_fs.h>
25 #include <linux/romfs_fs.h>
26 #include <linux/auto_fs.h>
27 #include <linux/ntfs_fs.h>
28 #include <linux/hfs_fs.h>
29 #include <linux/devpts_fs.h>
30 #include <linux/major.h>
31 #include <linux/smp.h>
32 #include <linux/smp_lock.h>
34 #include <linux/kmod.h>
36 #include <linux/lockd/bind.h>
37 #include <linux/lockd/xdr.h>
38 #include <linux/init.h>
39 #include <linux/nls.h>
42 extern int init_coda(void);
45 #ifdef CONFIG_DEVPTS_FS
46 extern int init_devpts_fs(void);
49 extern void device_setup(void);
50 extern void binfmt_setup(void);
51 extern void free_initmem(void);
53 static void __init
do_sys_setup(void)
63 #ifdef CONFIG_MINIX_FS
67 #ifdef CONFIG_ROMFS_FS
71 #ifdef CONFIG_UMSDOS_FS
79 #ifdef CONFIG_MSDOS_FS
111 #ifdef CONFIG_ISO9660_FS
115 #ifdef CONFIG_SYSV_FS
119 #ifdef CONFIG_HPFS_FS
123 #ifdef CONFIG_NTFS_FS
131 #ifdef CONFIG_AFFS_FS
139 #ifdef CONFIG_AUTOFS_FS
143 #ifdef CONFIG_ADFS_FS
147 #ifdef CONFIG_DEVPTS_FS
158 int initmem_freed
= 0;
160 /* This may be used only twice, enforced by 'static int callable' */
161 asmlinkage
int sys_setup(int magic
)
163 static int callable
= 1;
168 if (!initmem_freed
) {
173 } else if (callable
) {
183 #ifdef CONFIG_NFSD_MODULE
184 int (*do_nfsservctl
)(int, void *, void *) = NULL
;
187 asmlinkage
sys_nfsservctl(int cmd
, void *argp
, void *resp
)
189 #ifndef CONFIG_NFSD_MODULE
196 ret
= do_nfsservctl(cmd
, argp
, resp
);
200 if (request_module ("nfsd") == 0) {
202 ret
= do_nfsservctl(cmd
, argp
, resp
);
204 #endif /* CONFIG_KMOD */
208 #endif /* CONFIG_NFSD_MODULE */
210 #endif /* CONFIG_NFSD */