diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-27 09:56:58 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-31 10:32:58 -0400 |
commit | 3668b70fcf1fdc6799abf15f70fe3f50f407ec82 (patch) | |
tree | e254b29f4f2882298cc60112acc6878b56903a84 /fs/ubifs/debug.h | |
parent | 6b38d03f48da3006085e2d3e45168ed60475f7bb (diff) |
UBIFS: print less
UBIFS currently prints a lot of information when it mounts a volume, which
bothers some people. Make it less chatty - print only important information
by default.
Get rid of 'dbg_msg()' macro completely.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/debug.h')
-rw-r--r-- | fs/ubifs/debug.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index 38230b1e544e..e03d5179769a 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h | |||
@@ -176,11 +176,6 @@ struct ubifs_global_debug_info { | |||
176 | dbg_snprintf_key(c, key, __tmp_key_buf, DBG_KEY_BUF_LEN)); \ | 176 | dbg_snprintf_key(c, key, __tmp_key_buf, DBG_KEY_BUF_LEN)); \ |
177 | } while (0) | 177 | } while (0) |
178 | 178 | ||
179 | /* Just a debugging messages not related to any specific UBIFS subsystem */ | ||
180 | #define dbg_msg(fmt, ...) \ | ||
181 | pr_err("UBIFS DBG (pid %d): %s: " fmt "\n", current->pid, \ | ||
182 | __func__, ##__VA_ARGS__) | ||
183 | |||
184 | /* General messages */ | 179 | /* General messages */ |
185 | #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) | 180 | #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) |
186 | /* Additional journal messages */ | 181 | /* Additional journal messages */ |