From: Eric Van Hensbergen Date: Mon, 16 Jul 2007 21:02:49 +0000 (-0500) Subject: 9p: fix debug compilation error X-Git-Tag: v2.6.23-rc1~511^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=10fa16e75c70c8e7ec4675c5f985548a6565dca2;p=linux-2.6-omap-h63xx.git 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 Acked-by: Eric Van Hensbergen --- diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 45c35986d49..0a7068e30ec 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;