patch-2.1.18 linux/fs/msdos/msdosfs_syms.c
Next file: linux/fs/ncpfs/inode.c
Previous file: linux/fs/minix/inode.c
Back to the patch index
Back to the overall index
- Lines: 57
- Date:
Fri Dec 27 12:03:25 1996
- Orig file:
v2.1.17/linux/fs/msdos/msdosfs_syms.c
- Orig date:
Thu Feb 15 09:21:30 1996
diff -u --recursive --new-file v2.1.17/linux/fs/msdos/msdosfs_syms.c linux/fs/msdos/msdosfs_syms.c
@@ -10,38 +10,29 @@
#include <linux/mm.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),
- X(msdos_read_super),
- X(msdos_put_super),
-#include <linux/symtab_end.h>
-};
+/*
+ * Support for umsdos fs
+ *
+ * These symbols are _always_ exported, in case someone
+ * wants to install the umsdos module later.
+ */
+EXPORT_SYMBOL(msdos_create);
+EXPORT_SYMBOL(msdos_lookup);
+EXPORT_SYMBOL(msdos_mkdir);
+EXPORT_SYMBOL(msdos_read_inode);
+EXPORT_SYMBOL(msdos_rename);
+EXPORT_SYMBOL(msdos_rmdir);
+EXPORT_SYMBOL(msdos_unlink);
+EXPORT_SYMBOL(msdos_unlink_umsdos);
+EXPORT_SYMBOL(msdos_read_super);
+EXPORT_SYMBOL(msdos_put_super);
+
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;
+ return register_filesystem(&msdos_fs_type);
}
-
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov