diff options
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r-- | fs/fat/misc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 2a0df2122f5d..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 | ||
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 */ |
@@ -67,8 +67,6 @@ void fat_clusters_flush(struct super_block *sb) | |||
67 | if (sbi->prev_free != -1) | 67 | if (sbi->prev_free != -1) |
68 | fsinfo->next_cluster = cpu_to_le32(sbi->prev_free); | 68 | fsinfo->next_cluster = cpu_to_le32(sbi->prev_free); |
69 | mark_buffer_dirty(bh); | 69 | mark_buffer_dirty(bh); |
70 | if (sb->s_flags & MS_SYNCHRONOUS) | ||
71 | sync_dirty_buffer(bh); | ||
72 | } | 70 | } |
73 | brelse(bh); | 71 | brelse(bh); |
74 | } | 72 | } |
@@ -194,7 +192,7 @@ void fat_date_unix2dos(int unix_date, __le16 *time, __le16 *date) | |||
194 | *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)); |
195 | } | 193 | } |
196 | 194 | ||
197 | EXPORT_SYMBOL(fat_date_unix2dos); | 195 | EXPORT_SYMBOL_GPL(fat_date_unix2dos); |
198 | 196 | ||
199 | int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) | 197 | int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) |
200 | { | 198 | { |
@@ -222,4 +220,4 @@ int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs) | |||
222 | return err; | 220 | return err; |
223 | } | 221 | } |
224 | 222 | ||
225 | EXPORT_SYMBOL(fat_sync_bhs); | 223 | EXPORT_SYMBOL_GPL(fat_sync_bhs); |