aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat')
-rw-r--r--fs/fat/dir.c14
-rw-r--r--fs/fat/fatent.c2
-rw-r--r--fs/fat/file.c2
-rw-r--r--fs/fat/inode.c10
-rw-r--r--fs/fat/misc.c6
5 files changed, 17 insertions, 17 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index b2a26cd226b5..4ce77475aed3 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
421EXPORT_SYMBOL(fat_search_long); 421EXPORT_SYMBOL_GPL(fat_search_long);
422 422
423struct fat_ioctl_filldir_callback { 423struct 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
783EXPORT_SYMBOL(fat_get_dotdot_entry); 783EXPORT_SYMBOL_GPL(fat_get_dotdot_entry);
784 784
785/* See if directory is empty */ 785/* See if directory is empty */
786int fat_dir_empty(struct inode *dir) 786int 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
806EXPORT_SYMBOL(fat_dir_empty); 806EXPORT_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
852EXPORT_SYMBOL(fat_scan); 852EXPORT_SYMBOL_GPL(fat_scan);
853 853
854static int __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) 854static 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
939EXPORT_SYMBOL(fat_remove_entries); 939EXPORT_SYMBOL_GPL(fat_remove_entries);
940 940
941static int fat_zeroed_cluster(struct inode *dir, sector_t blknr, int nr_used, 941static 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
1051EXPORT_SYMBOL(fat_alloc_new_dir); 1051EXPORT_SYMBOL_GPL(fat_alloc_new_dir);
1052 1052
1053static int fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, 1053static 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
1267EXPORT_SYMBOL(fat_add_entries); 1267EXPORT_SYMBOL_GPL(fat_add_entries);
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index 20a22875f0a1..a1a9e0451217 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
584EXPORT_SYMBOL(fat_free_clusters); 584EXPORT_SYMBOL_GPL(fat_free_clusters);
585 585
586int fat_count_free_clusters(struct super_block *sb) 586int fat_count_free_clusters(struct super_block *sb)
587{ 587{
diff --git a/fs/fat/file.c b/fs/fat/file.c
index 7134403d5be2..15229fe569c3 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
176EXPORT_SYMBOL(fat_notify_change); 176EXPORT_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. */
179static int fat_free(struct inode *inode, int skip) 179static int fat_free(struct inode *inode, int skip)
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index f502c6b8cb49..932c8d6d1f54 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
200EXPORT_SYMBOL(fat_attach); 200EXPORT_SYMBOL_GPL(fat_attach);
201 201
202void fat_detach(struct inode *inode) 202void 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
211EXPORT_SYMBOL(fat_detach); 211EXPORT_SYMBOL_GPL(fat_detach);
212 212
213struct inode *fat_iget(struct super_block *sb, loff_t i_pos) 213struct 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
365EXPORT_SYMBOL(fat_build_inode); 365EXPORT_SYMBOL_GPL(fat_build_inode);
366 366
367static void fat_delete_inode(struct inode *inode) 367static 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
560EXPORT_SYMBOL(fat_sync_inode); 560EXPORT_SYMBOL_GPL(fat_sync_inode);
561 561
562static int fat_show_options(struct seq_file *m, struct vfsmount *mnt); 562static int fat_show_options(struct seq_file *m, struct vfsmount *mnt);
563static struct super_operations fat_sops = { 563static struct super_operations fat_sops = {
@@ -1368,7 +1368,7 @@ out_fail:
1368 return error; 1368 return error;
1369} 1369}
1370 1370
1371EXPORT_SYMBOL(fat_fill_super); 1371EXPORT_SYMBOL_GPL(fat_fill_super);
1372 1372
1373int __init fat_cache_init(void); 1373int __init fat_cache_init(void);
1374void fat_cache_destroy(void); 1374void fat_cache_destroy(void);
diff --git a/fs/fat/misc.c b/fs/fat/misc.c
index 9b592e37e259..32fb0a3f1da4 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
36EXPORT_SYMBOL(fat_fs_panic); 36EXPORT_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
195EXPORT_SYMBOL(fat_date_unix2dos); 195EXPORT_SYMBOL_GPL(fat_date_unix2dos);
196 196
197int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) 197int 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
223EXPORT_SYMBOL(fat_sync_bhs); 223EXPORT_SYMBOL_GPL(fat_sync_bhs);