diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2006-03-25 03:07:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:54 -0800 |
commit | 5174fdab9f58181249debab6e959ae4fd4abd0ed (patch) | |
tree | d5922acd425ffd35421dfe5ba17c5fb801888483 /fs/9p/mux.c | |
parent | 4a26c2429b8c1ab2be140a4b29aaf16d4dcd8f92 (diff) | |
download | blackbird-op-linux-5174fdab9f58181249debab6e959ae4fd4abd0ed.tar.gz blackbird-op-linux-5174fdab9f58181249debab6e959ae4fd4abd0ed.zip |
[PATCH] v9fs: print 9p messages
Print 9p messages.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/mux.c')
-rw-r--r-- | fs/9p/mux.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/9p/mux.c b/fs/9p/mux.c index 3b10a36cefdb..d16f4f488fda 100644 --- a/fs/9p/mux.c +++ b/fs/9p/mux.c @@ -635,6 +635,14 @@ static void v9fs_read_work(void *a) goto error; } + if ((v9fs_debug_level&DEBUG_FCALL) == DEBUG_FCALL) { + char buf[150]; + + v9fs_printfcall(buf, sizeof(buf), m->rcall, + *m->extended); + printk(KERN_NOTICE ">>> %p %s\n", m, buf); + } + rcall = m->rcall; rbuf = m->rbuf; if (m->rpos > n) { @@ -740,6 +748,13 @@ static struct v9fs_req *v9fs_send_request(struct v9fs_mux_data *m, v9fs_set_tag(tc, n); + if ((v9fs_debug_level&DEBUG_FCALL) == DEBUG_FCALL) { + char buf[150]; + + v9fs_printfcall(buf, sizeof(buf), tc, *m->extended); + printk(KERN_NOTICE "<<< %p %s\n", m, buf); + } + req->tag = n; req->tcall = tc; req->rcall = NULL; |