diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 16:20:07 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 16:20:07 -0500 |
commit | e7f4b8f1a5893ff8296b5b581e16a0b96f60a3b5 (patch) | |
tree | dcf52d5919d2ba1a5f7af7449839c4ada85e11cd /include/net/9p | |
parent | 02da398b950c5d079c20afaa23f322383e96070a (diff) | |
download | linux-stable-e7f4b8f1a5893ff8296b5b581e16a0b96f60a3b5.tar.gz linux-stable-e7f4b8f1a5893ff8296b5b581e16a0b96f60a3b5.tar.bz2 linux-stable-e7f4b8f1a5893ff8296b5b581e16a0b96f60a3b5.zip |
9p: Improve debug support
The new debug support lacks some of the information that the previous fcprint
code provided -- this patch focuses on better presentation of debug data along
with more helpful debug along error paths.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r-- | include/net/9p/9p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index cb5bc731e885..d2c60c73619d 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h @@ -27,8 +27,6 @@ #ifndef NET_9P_H #define NET_9P_H -#ifdef CONFIG_NET_9P_DEBUG - /** * enum p9_debug_flags - bits for mount time debug parameter * @P9_DEBUG_ERROR: more verbose error messages including original error string @@ -55,10 +53,12 @@ enum p9_debug_flags { P9_DEBUG_SLABS = (1<<7), P9_DEBUG_FCALL = (1<<8), P9_DEBUG_FID = (1<<9), + P9_DEBUG_PKT = (1<<10), }; extern unsigned int p9_debug_level; +#ifdef CONFIG_NET_9P_DEBUG #define P9_DPRINTK(level, format, arg...) \ do { \ if ((p9_debug_level & level) == level) {\ |