aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r--fs/ubifs/debug.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index 9f717655df18..6e5d345a0f7e 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -149,7 +149,7 @@ struct ubifs_global_debug_info {
149 if (unlikely(!(expr))) { \ 149 if (unlikely(!(expr))) { \
150 printk(KERN_CRIT "UBIFS assert failed in %s at %u (pid %d)\n", \ 150 printk(KERN_CRIT "UBIFS assert failed in %s at %u (pid %d)\n", \
151 __func__, __LINE__, current->pid); \ 151 __func__, __LINE__, current->pid); \
152 dbg_dump_stack(); \ 152 dump_stack(); \
153 } \ 153 } \
154} while (0) 154} while (0)
155 155
@@ -161,8 +161,6 @@ struct ubifs_global_debug_info {
161 } \ 161 } \
162} while (0) 162} while (0)
163 163
164#define dbg_dump_stack() dump_stack()
165
166#define dbg_err(fmt, ...) do { \ 164#define dbg_err(fmt, ...) do { \
167 ubifs_err(fmt, ##__VA_ARGS__); \ 165 ubifs_err(fmt, ##__VA_ARGS__); \
168} while (0) 166} while (0)
@@ -341,7 +339,6 @@ void dbg_debugfs_exit_fs(struct ubifs_info *c);
341 printk(KERN_DEBUG fmt "\n", ##__VA_ARGS__); \ 339 printk(KERN_DEBUG fmt "\n", ##__VA_ARGS__); \
342} while (0) 340} while (0)
343 341
344#define dbg_dump_stack()
345#define ubifs_assert_cmt_locked(c) 342#define ubifs_assert_cmt_locked(c)
346 343
347#define dbg_msg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__) 344#define dbg_msg(fmt, ...) ubifs_dbg_msg(fmt, ##__VA_ARGS__)