diff options
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r-- | fs/udf/udfdecl.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index dbd52d4b5ee..81e66afecd4 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h | |||
@@ -29,6 +29,13 @@ do { \ | |||
29 | #define udf_debug(f, a...) /**/ | 29 | #define udf_debug(f, a...) /**/ |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | __attribute__((format(printf, 3, 4))) | ||
33 | extern void udf_warning(struct super_block *, const char *, const char *, ...); | ||
34 | |||
35 | __attribute__((format(printf, 3, 4))) | ||
36 | extern void udf_error(struct super_block *sb, const char *function, | ||
37 | const char *fmt, ...); | ||
38 | |||
32 | #define udf_info(f, a...) \ | 39 | #define udf_info(f, a...) \ |
33 | printk(KERN_INFO "UDF-fs INFO " f, ##a); | 40 | printk(KERN_INFO "UDF-fs INFO " f, ##a); |
34 | 41 | ||
@@ -112,8 +119,6 @@ struct extent_position { | |||
112 | 119 | ||
113 | /* super.c */ | 120 | /* super.c */ |
114 | 121 | ||
115 | __attribute__((format(printf, 3, 4))) | ||
116 | extern void udf_warning(struct super_block *, const char *, const char *, ...); | ||
117 | static inline void udf_updated_lvid(struct super_block *sb) | 122 | static inline void udf_updated_lvid(struct super_block *sb) |
118 | { | 123 | { |
119 | struct buffer_head *bh = UDF_SB(sb)->s_lvid_bh; | 124 | struct buffer_head *bh = UDF_SB(sb)->s_lvid_bh; |