aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r--fs/fat/fat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h
index dc163b8d7699..a768dad77907 100644
--- a/fs/fat/fat.h
+++ b/fs/fat/fat.h
@@ -325,12 +325,12 @@ extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
325 struct inode *i2); 325 struct inode *i2);
326/* fat/misc.c */ 326/* fat/misc.c */
327extern void 327extern void
328__fat_fs_error(struct super_block *s, int report, const char *fmt, ...) 328__fat_fs_error(struct super_block *sb, int report, const char *fmt, ...)
329 __attribute__ ((format (printf, 3, 4))) __cold; 329 __attribute__ ((format (printf, 3, 4))) __cold;
330#define fat_fs_error(s, fmt, args...) \ 330#define fat_fs_error(sb, fmt, args...) \
331 __fat_fs_error(s, 1, fmt , ## args) 331 __fat_fs_error(sb, 1, fmt , ## args)
332#define fat_fs_error_ratelimit(s, fmt, args...) \ 332#define fat_fs_error_ratelimit(sb, fmt, args...) \
333 __fat_fs_error(s, __ratelimit(&MSDOS_SB(s)->ratelimit), fmt , ## args) 333 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args)
334extern int fat_clusters_flush(struct super_block *sb); 334extern int fat_clusters_flush(struct super_block *sb);
335extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster); 335extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
336extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts, 336extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts,