diff options
| author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2006-01-08 04:02:10 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:13:46 -0500 |
| commit | 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 (patch) | |
| tree | ba564dbc9f9d67c61b285eee4f856e0b26903127 /fs/fat | |
| parent | a5425d2927a6a771f9ae8767b6bfb3c09225bcdd (diff) | |
[PATCH] fat: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/
All EXPORT_SYMBOL of fatfs is only for vfat/msdos. _GPL would be proper.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fat')
| -rw-r--r-- | fs/fat/dir.c | 14 | ||||
| -rw-r--r-- | fs/fat/fatent.c | 2 | ||||
| -rw-r--r-- | fs/fat/file.c | 2 | ||||
| -rw-r--r-- | fs/fat/inode.c | 10 | ||||
| -rw-r--r-- | fs/fat/misc.c | 6 |
5 files changed, 17 insertions, 17 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index b2a26cd226..4ce77475ae 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c | |||
| @@ -418,7 +418,7 @@ EODir: | |||
| 418 | return err; | 418 | return err; |
| 419 | } | 419 | } |
| 420 | 420 | ||
| 421 | EXPORT_SYMBOL(fat_search_long); | 421 | EXPORT_SYMBOL_GPL(fat_search_long); |
| 422 | 422 | ||
| 423 | struct fat_ioctl_filldir_callback { | 423 | struct fat_ioctl_filldir_callback { |
| 424 | struct dirent __user *dirent; | 424 | struct dirent __user *dirent; |
| @@ -780,7 +780,7 @@ int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh, | |||
| 780 | return -ENOENT; | 780 | return -ENOENT; |
| 781 | } | 781 | } |
| 782 | 782 | ||
| 783 | EXPORT_SYMBOL(fat_get_dotdot_entry); | 783 | EXPORT_SYMBOL_GPL(fat_get_dotdot_entry); |
| 784 | 784 | ||
| 785 | /* See if directory is empty */ | 785 | /* See if directory is empty */ |
| 786 | int fat_dir_empty(struct inode *dir) | 786 | int fat_dir_empty(struct inode *dir) |
| @@ -803,7 +803,7 @@ int fat_dir_empty(struct inode *dir) | |||
| 803 | return result; | 803 | return result; |
| 804 | } | 804 | } |
| 805 | 805 | ||
| 806 | EXPORT_SYMBOL(fat_dir_empty); | 806 | EXPORT_SYMBOL_GPL(fat_dir_empty); |
| 807 | 807 | ||
| 808 | /* | 808 | /* |
| 809 | * fat_subdirs counts the number of sub-directories of dir. It can be run | 809 | * fat_subdirs counts the number of sub-directories of dir. It can be run |
| @@ -849,7 +849,7 @@ int fat_scan(struct inode *dir, const unsigned char *name, | |||
| 849 | return -ENOENT; | 849 | return -ENOENT; |
| 850 | } | 850 | } |
| 851 | 851 | ||
| 852 | EXPORT_SYMBOL(fat_scan); | 852 | EXPORT_SYMBOL_GPL(fat_scan); |
| 853 | 853 | ||
| 854 | static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) | 854 | static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) |
| 855 | { | 855 | { |
| @@ -936,7 +936,7 @@ int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo) | |||
| 936 | return 0; | 936 | return 0; |
| 937 | } | 937 | } |
| 938 | 938 | ||
| 939 | EXPORT_SYMBOL(fat_remove_entries); | 939 | EXPORT_SYMBOL_GPL(fat_remove_entries); |
| 940 | 940 | ||
| 941 | static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used, | 941 | static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used, |
| 942 | struct buffer_head **bhs, int nr_bhs) | 942 | struct buffer_head **bhs, int nr_bhs) |
| @@ -1048,7 +1048,7 @@ error: | |||
| 1048 | return err; | 1048 | return err; |
| 1049 | } | 1049 | } |
| 1050 | 1050 | ||
| 1051 | EXPORT_SYMBOL(fat_alloc_new_dir); | 1051 | EXPORT_SYMBOL_GPL(fat_alloc_new_dir); |
| 1052 | 1052 | ||
| 1053 | static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, | 1053 | static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, |
| 1054 | int *nr_cluster, struct msdos_dir_entry **de, | 1054 | int *nr_cluster, struct msdos_dir_entry **de, |
| @@ -1264,4 +1264,4 @@ error_remove: | |||
| 1264 | return err; | 1264 | return err; |
| 1265 | } | 1265 | } |
| 1266 | 1266 | ||
| 1267 | EXPORT_SYMBOL(fat_add_entries); | 1267 | EXPORT_SYMBOL_GPL(fat_add_entries); |
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c index 20a22875f0..a1a9e04512 100644 --- a/fs/fat/fatent.c +++ b/fs/fat/fatent.c | |||
| @@ -581,7 +581,7 @@ error: | |||
| 581 | return err; | 581 | return err; |
| 582 | } | 582 | } |
| 583 | 583 | ||
| 584 | EXPORT_SYMBOL(fat_free_clusters); | 584 | EXPORT_SYMBOL_GPL(fat_free_clusters); |
| 585 | 585 | ||
| 586 | int fat_count_free_clusters(struct super_block *sb) | 586 | int fat_count_free_clusters(struct super_block *sb) |
| 587 | { | 587 | { |
diff --git a/fs/fat/file.c b/fs/fat/file.c index 7134403d5b..15229fe569 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c | |||
| @@ -173,7 +173,7 @@ out: | |||
| 173 | return error; | 173 | return error; |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | EXPORT_SYMBOL(fat_notify_change); | 176 | EXPORT_SYMBOL_GPL(fat_notify_change); |
| 177 | 177 | ||
| 178 | /* Free all clusters after the skip'th cluster. */ | 178 | /* Free all clusters after the skip'th cluster. */ |
| 179 | static int fat_free(struct inode *inode, int skip) | 179 | static int fat_free(struct inode *inode, int skip) |
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index f502c6b8cb..932c8d6d1f 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
| @@ -197,7 +197,7 @@ void fat_attach(struct inode *inode, loff_t i_pos) | |||
| 197 | spin_unlock(&sbi->inode_hash_lock); | 197 | spin_unlock(&sbi->inode_hash_lock); |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | EXPORT_SYMBOL(fat_attach); | 200 | EXPORT_SYMBOL_GPL(fat_attach); |
| 201 | 201 | ||
| 202 | void fat_detach(struct inode *inode) | 202 | void fat_detach(struct inode *inode) |
| 203 | { | 203 | { |
| @@ -208,7 +208,7 @@ void fat_detach(struct inode *inode) | |||
| 208 | spin_unlock(&sbi->inode_hash_lock); | 208 | spin_unlock(&sbi->inode_hash_lock); |
| 209 | } | 209 | } |
| 210 | 210 | ||
| 211 | EXPORT_SYMBOL(fat_detach); | 211 | EXPORT_SYMBOL_GPL(fat_detach); |
| 212 | 212 | ||
| 213 | struct inode *fat_iget(struct super_block *sb, loff_t i_pos) | 213 | struct inode *fat_iget(struct super_block *sb, loff_t i_pos) |
| 214 | { | 214 | { |
| @@ -362,7 +362,7 @@ out: | |||
| 362 | return inode; | 362 | return inode; |
| 363 | } | 363 | } |
| 364 | 364 | ||
| 365 | EXPORT_SYMBOL(fat_build_inode); | 365 | EXPORT_SYMBOL_GPL(fat_build_inode); |
| 366 | 366 | ||
| 367 | static void fat_delete_inode(struct inode *inode) | 367 | static void fat_delete_inode(struct inode *inode) |
| 368 | { | 368 | { |
| @@ -557,7 +557,7 @@ int fat_sync_inode(struct inode *inode) | |||
| 557 | return fat_write_inode(inode, 1); | 557 | return fat_write_inode(inode, 1); |
| 558 | } | 558 | } |
| 559 | 559 | ||
| 560 | EXPORT_SYMBOL(fat_sync_inode); | 560 | EXPORT_SYMBOL_GPL(fat_sync_inode); |
| 561 | 561 | ||
| 562 | static int fat_show_options(struct seq_file *m, struct vfsmount *mnt); | 562 | static int fat_show_options(struct seq_file *m, struct vfsmount *mnt); |
| 563 | static struct super_operations fat_sops = { | 563 | static struct super_operations fat_sops = { |
| @@ -1368,7 +1368,7 @@ out_fail: | |||
| 1368 | return error; | 1368 | return error; |
| 1369 | } | 1369 | } |
| 1370 | 1370 | ||
| 1371 | EXPORT_SYMBOL(fat_fill_super); | 1371 | EXPORT_SYMBOL_GPL(fat_fill_super); |
| 1372 | 1372 | ||
| 1373 | int __init fat_cache_init(void); | 1373 | int __init fat_cache_init(void); |
| 1374 | void fat_cache_destroy(void); | 1374 | void fat_cache_destroy(void); |
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 9b592e37e2..32fb0a3f1d 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c | |||
| @@ -33,7 +33,7 @@ void fat_fs_panic(struct super_block *s, const char *fmt, ...) | |||
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | EXPORT_SYMBOL(fat_fs_panic); | 36 | EXPORT_SYMBOL_GPL(fat_fs_panic); |
| 37 | 37 | ||
| 38 | /* Flushes the number of free clusters on FAT32 */ | 38 | /* Flushes the number of free clusters on FAT32 */ |
| 39 | /* XXX: Need to write one per FSINFO block. Currently only writes 1 */ | 39 | /* XXX: Need to write one per FSINFO block. Currently only writes 1 */ |
| @@ -192,7 +192,7 @@ void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date) | |||
| 192 | *date = cpu_to_le16(nl_day-day_n[month-1]+1+(month << 5)+(year << 9)); | 192 | *date = cpu_to_le16(nl_day-day_n[month-1]+1+(month << 5)+(year << 9)); |
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | EXPORT_SYMBOL(fat_date_unix2dos); | 195 | EXPORT_SYMBOL_GPL(fat_date_unix2dos); |
| 196 | 196 | ||
| 197 | int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) | 197 | int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) |
| 198 | { | 198 | { |
| @@ -220,4 +220,4 @@ int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) | |||
| 220 | return err; | 220 | return err; |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | EXPORT_SYMBOL(fat_sync_bhs); | 223 | EXPORT_SYMBOL_GPL(fat_sync_bhs); |
