summaryrefslogtreecommitdiffstats
path: root/fs/udf/udfdecl.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r--fs/udf/udfdecl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index 81e66afecd42..7bc3ba1415fc 100644
--- a/fs/udf/udfdecl.h
+++ b/fs/udf/udfdecl.h
@@ -33,13 +33,14 @@ __attribute__((format(printf, 3, 4)))
33extern void udf_warning(struct super_block *, const char *, const char *, ...); 33extern void udf_warning(struct super_block *, const char *, const char *, ...);
34 34
35__attribute__((format(printf, 3, 4))) 35__attribute__((format(printf, 3, 4)))
36extern void udf_error(struct super_block *sb, const char *function, 36extern void _udf_err(struct super_block *sb, const char *function,
37 const char *fmt, ...); 37 const char *fmt, ...);
38#define udf_err(sb, fmt, ...) \
39 _udf_err(sb, __func__, fmt, ##__VA_ARGS__)
38 40
39#define udf_info(f, a...) \ 41#define udf_info(f, a...) \
40 printk(KERN_INFO "UDF-fs INFO " f, ##a); 42 printk(KERN_INFO "UDF-fs INFO " f, ##a);
41 43
42
43#define udf_fixed_to_variable(x) ( ( ( (x) >> 5 ) * 39 ) + ( (x) & 0x0000001F ) ) 44#define udf_fixed_to_variable(x) ( ( ( (x) >> 5 ) * 39 ) + ( (x) & 0x0000001F ) )
44#define udf_variable_to_fixed(x) ( ( ( (x) / 39 ) << 5 ) + ( (x) % 39 ) ) 45#define udf_variable_to_fixed(x) ( ( ( (x) / 39 ) << 5 ) + ( (x) % 39 ) )
45 46