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/devfs_fs_kernel.h>
13 #include <linux/nfs_fs.h>
14 #include <linux/auto_fs.h>
15 #include <linux/devpts_fs.h>
16 #include <linux/major.h>
17 #include <linux/smp.h>
18 #include <linux/smp_lock.h>
19 #include <linux/kmod.h>
20 #include <linux/init.h>
21 #include <linux/module.h>
22 #include <linux/nfsd/interface.h>
25 extern int init_coda(void);
28 #ifdef CONFIG_DEVPTS_FS
29 extern int init_devpts_fs(void);
32 void __init
filesystem_setup(void)
34 init_devfs_fs(); /* Header file may make this empty */
44 #ifdef CONFIG_DEVPTS_FS
49 #if defined(CONFIG_NFSD_MODULE)
50 struct nfsd_linkage
*nfsd_linkage
= NULL
;
53 asmlinkage
sys_nfsservctl(int cmd
, void *argp
, void *resp
)
60 (request_module ("nfsd") == 0 && nfsd_linkage
))
61 ret
= nfsd_linkage
->do_nfsservctl(cmd
, argp
, resp
);
66 EXPORT_SYMBOL(nfsd_linkage
);
68 #elif ! defined (CONFIG_NFSD)
69 asmlinkage
int sys_nfsservctl(int cmd
, void *argp
, void *resp
)
73 #endif /* CONFIG_NFSD */