patch-1.3.60 linux/fs/msdos/msdosfs_syms.c
Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/msdos/msbuffer.h
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Wed Feb 7 09:39:28 1996
- Orig file:
v1.3.59/linux/fs/msdos/msdosfs_syms.c
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.59/linux/fs/msdos/msdosfs_syms.c linux/fs/msdos/msdosfs_syms.c
@@ -0,0 +1,37 @@
+#include <linux/module.h>
+
+#include <linux/msdos_fs.h>
+
+static struct symbol_table msdos_syms = {
+#include <linux/symtab_begin.h>
+ /*
+ * Support for umsdos fs
+ *
+ * These symbols are _always_ exported, in case someone
+ * wants to install the umsdos module later.
+ */
+ X(msdos_create),
+ X(msdos_lookup),
+ X(msdos_mkdir),
+ X(msdos_read_inode),
+ X(msdos_rename),
+ X(msdos_rmdir),
+ X(msdos_unlink),
+ X(msdos_unlink_umsdos),
+#include <linux/symtab_end.h>
+};
+
+struct file_system_type msdos_fs_type = {
+ msdos_read_super, "msdos", 1, NULL
+};
+
+
+int init_msdos_fs(void)
+{
+ int status;
+
+ if ((status = register_filesystem(&msdos_fs_type)) == 0)
+ status = register_symtab(&msdos_syms);
+ return status;
+}
+
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