patch-2.1.18 linux/fs/fat/fatfs_syms.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

diff -u --recursive --new-file v2.1.17/linux/fs/fat/fatfs_syms.c linux/fs/fat/fatfs_syms.c
@@ -14,45 +14,40 @@
 
 extern struct file_operations fat_dir_operations;
 
-static struct symbol_table fat_syms = {
-#include <linux/symtab_begin.h>
-	X(fat_a2alias),
-	X(fat_a2uni),
-	X(fat_add_cluster),
-	X(fat_bmap),
-	X(fat_brelse),
-	X(fat_cache_inval_inode),
-	X(fat_code2uni),
-	X(fat_date_unix2dos),
-	X(fat_dir_operations),
-	X(fat_file_read),
-	X(fat_file_write),
-	X(fat_fs_panic),
-	X(fat_get_entry),
-	X(fat_lock_creation),
-	X(fat_mark_buffer_dirty),
-	X(fat_mmap),
-	X(fat_notify_change),
-	X(fat_parent_ino),
-	X(fat_put_inode),
-	X(fat_put_super),
-	X(fat_read_inode),
-	X(fat_read_super),
-	X(fat_readdirx),
-	X(fat_readdir),
-	X(fat_scan),
-	X(fat_smap),
-	X(fat_statfs),
-	X(fat_truncate),
-	X(fat_uni2asc_pg),
-	X(fat_uni2code),
-	X(fat_unlock_creation),
-	X(fat_write_inode),
-#include <linux/symtab_end.h>
-};                                           
+EXPORT_SYMBOL(fat_a2alias);
+EXPORT_SYMBOL(fat_a2uni);
+EXPORT_SYMBOL(fat_add_cluster);
+EXPORT_SYMBOL(fat_bmap);
+EXPORT_SYMBOL(fat_brelse);
+EXPORT_SYMBOL(fat_cache_inval_inode);
+EXPORT_SYMBOL(fat_code2uni);
+EXPORT_SYMBOL(fat_date_unix2dos);
+EXPORT_SYMBOL(fat_dir_operations);
+EXPORT_SYMBOL(fat_file_read);
+EXPORT_SYMBOL(fat_file_write);
+EXPORT_SYMBOL(fat_fs_panic);
+EXPORT_SYMBOL(fat_get_entry);
+EXPORT_SYMBOL(fat_lock_creation);
+EXPORT_SYMBOL(fat_mark_buffer_dirty);
+EXPORT_SYMBOL(fat_mmap);
+EXPORT_SYMBOL(fat_notify_change);
+EXPORT_SYMBOL(fat_parent_ino);
+EXPORT_SYMBOL(fat_put_inode);
+EXPORT_SYMBOL(fat_put_super);
+EXPORT_SYMBOL(fat_read_inode);
+EXPORT_SYMBOL(fat_read_super);
+EXPORT_SYMBOL(fat_readdirx);
+EXPORT_SYMBOL(fat_readdir);
+EXPORT_SYMBOL(fat_scan);
+EXPORT_SYMBOL(fat_smap);
+EXPORT_SYMBOL(fat_statfs);
+EXPORT_SYMBOL(fat_truncate);
+EXPORT_SYMBOL(fat_uni2asc_pg);
+EXPORT_SYMBOL(fat_uni2code);
+EXPORT_SYMBOL(fat_unlock_creation);
+EXPORT_SYMBOL(fat_write_inode);
 
 int init_fat_fs(void)
 {
-	return register_symtab(&fat_syms);
+	return 0;
 }
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov