aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/hfsplus_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r--fs/hfsplus/hfsplus_fs.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h
index 05b11f36024c..910ea98e92df 100644
--- a/fs/hfsplus/hfsplus_fs.h
+++ b/fs/hfsplus/hfsplus_fs.h
@@ -32,9 +32,17 @@
32#endif 32#endif
33#define DBG_MASK (0) 33#define DBG_MASK (0)
34 34
35#define dprint(flg, fmt, args...) \ 35#define hfs_dbg(flg, fmt, ...) \
36 if (flg & DBG_MASK) \ 36do { \
37 printk(fmt , ## args) 37 if (DBG_##flg & DBG_MASK) \
38 printk(KERN_DEBUG fmt, ##__VA_ARGS__); \
39} while (0)
40
41#define hfs_dbg_cont(flg, fmt, ...) \
42do { \
43 if (DBG_##flg & DBG_MASK) \
44 printk(KERN_CONT fmt, ##__VA_ARGS__); \
45} while (0)
38 46
39/* Runtime config options */ 47/* Runtime config options */
40#define HFSPLUS_DEF_CR_TYPE 0x3F3F3F3F /* '????' */ 48#define HFSPLUS_DEF_CR_TYPE 0x3F3F3F3F /* '????' */