diff options
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/debug.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index 164fd48c583a..c9d294111a53 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h | |||
@@ -188,7 +188,10 @@ extern spinlock_t dbg_lock; | |||
188 | pr_debug("UBIFS DBG " type ": " fmt "\n", ##__VA_ARGS__) | 188 | pr_debug("UBIFS DBG " type ": " fmt "\n", ##__VA_ARGS__) |
189 | 189 | ||
190 | /* Just a debugging messages not related to any specific UBIFS subsystem */ | 190 | /* Just a debugging messages not related to any specific UBIFS subsystem */ |
191 | #define dbg_msg(fmt, ...) ubifs_dbg_msg("msg", fmt, ##__VA_ARGS__) | 191 | #define dbg_msg(fmt, ...) \ |
192 | printk(KERN_DEBUG "UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \ | ||
193 | __func__, ##__VA_ARGS__) | ||
194 | |||
192 | /* General messages */ | 195 | /* General messages */ |
193 | #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) | 196 | #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) |
194 | /* Additional journal messages */ | 197 | /* Additional journal messages */ |