]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
9p: fix debug compilation error
authorEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Mon, 16 Jul 2007 21:02:49 +0000 (16:02 -0500)
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Mon, 16 Jul 2007 21:03:25 +0000 (16:03 -0500)
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>
fs/9p/v9fs.c

index 45c35986d49f41c4fc8a52e6fd5c94d3dfe1a94e..0a7068e30ecb6212c3f1d07c1679b4573a5cb90f 100644 (file)
@@ -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;