aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/mux.c')
-rw-r--r--fs/9p/mux.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/9p/mux.c b/fs/9p/mux.c
index 3b10a36cefd..d16f4f488fd 100644
--- a/fs/9p/mux.c
+++ b/fs/9p/mux.c
@@ -635,6 +635,14 @@ static void v9fs_read_work(void *a)
635 goto error; 635 goto error;
636 } 636 }
637 637
638 if ((v9fs_debug_level&DEBUG_FCALL) == DEBUG_FCALL) {
639 char buf[150];
640
641 v9fs_printfcall(buf, sizeof(buf), m->rcall,
642 *m->extended);
643 printk(KERN_NOTICE ">>> %p %s\n", m, buf);
644 }
645
638 rcall = m->rcall; 646 rcall = m->rcall;
639 rbuf = m->rbuf; 647 rbuf = m->rbuf;
640 if (m->rpos > n) { 648 if (m->rpos > n) {
@@ -740,6 +748,13 @@ static struct v9fs_req *v9fs_send_request(struct v9fs_mux_data *m,
740 748
741 v9fs_set_tag(tc, n); 749 v9fs_set_tag(tc, n);
742 750
751 if ((v9fs_debug_level&DEBUG_FCALL) == DEBUG_FCALL) {
752 char buf[150];
753
754 v9fs_printfcall(buf, sizeof(buf), tc, *m->extended);
755 printk(KERN_NOTICE "<<< %p %s\n", m, buf);
756 }
757
743 req->tag = n; 758 req->tag = n;
744 req->tcall = tc; 759 req->tcall = tc;
745 req->rcall = NULL; 760 req->rcall = NULL;