aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>2007-07-16 16:02:49 -0500
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>2007-07-16 16:03:25 -0500
commit10fa16e75c70c8e7ec4675c5f985548a6565dca2 (patch)
treedbe40ce7100e409e19232dc7f2403b3f6627766f /fs
parentc2dc1ad582196208a2f990eb0230eb922046c684 (diff)
downloadkernel_samsung_smdk4412-10fa16e75c70c8e7ec4675c5f985548a6565dca2.zip
kernel_samsung_smdk4412-10fa16e75c70c8e7ec4675c5f985548a6565dca2.tar.gz
kernel_samsung_smdk4412-10fa16e75c70c8e7ec4675c5f985548a6565dca2.tar.bz2
9p: fix debug compilation error
s/9p/v9fs.c: In function 'v9fs_parse_options': fs/9p/v9fs.c:134: error: 'p9_debug_level' undeclared (first use in this function) Signed-off-by: Dave Jones <davej@redhat.com> Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/9p/v9fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
index 45c3598..0a7068e 100644
--- a/fs/9p/v9fs.c
+++ b/fs/9p/v9fs.c
@@ -131,7 +131,9 @@ static void v9fs_parse_options(char *options, struct v9fs_session_info *v9ses)
switch (token) {
case Opt_debug:
v9ses->debug = option;
+#ifdef CONFIG_NET_9P_DEBUG
p9_debug_level = option;
+#endif
break;
case Opt_port:
v9ses->port = option;