From 6f61cdbe555f3f0c5cd015b26b74bbbe3ab463e5 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 10 Jan 2012 19:32:30 +0200 Subject: [PATCH] --- yaml --- r: 284458 b: refs/heads/master c: d34315da9146253351146140ea4b277193ee5e5f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ubifs/debug.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b243c9702527..e4fe2d545a1b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f5d78dc4823a85f112aaa2d0f17624f8c2a6c52 +refs/heads/master: d34315da9146253351146140ea4b277193ee5e5f diff --git a/trunk/fs/ubifs/debug.h b/trunk/fs/ubifs/debug.h index 164fd48c583a..c9d294111a53 100644 --- a/trunk/fs/ubifs/debug.h +++ b/trunk/fs/ubifs/debug.h @@ -188,7 +188,10 @@ extern spinlock_t dbg_lock; pr_debug("UBIFS DBG " type ": " fmt "\n", ##__VA_ARGS__) /* Just a debugging messages not related to any specific UBIFS subsystem */ -#define dbg_msg(fmt, ...) ubifs_dbg_msg("msg", fmt, ##__VA_ARGS__) +#define dbg_msg(fmt, ...) \ + printk(KERN_DEBUG "UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \ + __func__, ##__VA_ARGS__) + /* General messages */ #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) /* Additional journal messages */