aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS5
-rw-r--r--include/trace/events/9p.h28
-rw-r--r--net/9p/client.c5
3 files changed, 12 insertions, 26 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 97762ad25300..e03c40eb39e0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -180,6 +180,11 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git
180S: Maintained 180S: Maintained
181F: Documentation/filesystems/9p.txt 181F: Documentation/filesystems/9p.txt
182F: fs/9p/ 182F: fs/9p/
183F: net/9p/
184F: include/net/9p/
185F: include/uapi/linux/virtio_9p.h
186F: include/trace/events/9p.h
187
183 188
184A8293 MEDIA DRIVER 189A8293 MEDIA DRIVER
185M: Antti Palosaari <crope@iki.fi> 190M: Antti Palosaari <crope@iki.fi>
diff --git a/include/trace/events/9p.h b/include/trace/events/9p.h
index beeaed8398ec..a0666362c111 100644
--- a/include/trace/events/9p.h
+++ b/include/trace/events/9p.h
@@ -143,31 +143,9 @@ TRACE_EVENT(9p_protocol_dump,
143 __entry->tag = pdu->tag; 143 __entry->tag = pdu->tag;
144 memcpy(__entry->line, pdu->sdata, P9_PROTO_DUMP_SZ); 144 memcpy(__entry->line, pdu->sdata, P9_PROTO_DUMP_SZ);
145 ), 145 ),
146 TP_printk("clnt %lu %s(tag = %d)\n%.3x: " 146 TP_printk("clnt %lu %s(tag = %d)\n%.3x: %16ph\n%.3x: %16ph\n",
147 "%02x %02x %02x %02x %02x %02x %02x %02x " 147 (unsigned long)__entry->clnt, show_9p_op(__entry->type),
148 "%02x %02x %02x %02x %02x %02x %02x %02x\n" 148 __entry->tag, 0, __entry->line, 16, __entry->line + 16)
149 "%.3x: "
150 "%02x %02x %02x %02x %02x %02x %02x %02x "
151 "%02x %02x %02x %02x %02x %02x %02x %02x\n",
152 (long)__entry->clnt, show_9p_op(__entry->type),
153 __entry->tag, 0,
154 __entry->line[0], __entry->line[1],
155 __entry->line[2], __entry->line[3],
156 __entry->line[4], __entry->line[5],
157 __entry->line[6], __entry->line[7],
158 __entry->line[8], __entry->line[9],
159 __entry->line[10], __entry->line[11],
160 __entry->line[12], __entry->line[13],
161 __entry->line[14], __entry->line[15],
162 16,
163 __entry->line[16], __entry->line[17],
164 __entry->line[18], __entry->line[19],
165 __entry->line[20], __entry->line[21],
166 __entry->line[22], __entry->line[23],
167 __entry->line[24], __entry->line[25],
168 __entry->line[26], __entry->line[27],
169 __entry->line[28], __entry->line[29],
170 __entry->line[30], __entry->line[31])
171 ); 149 );
172 150
173#endif /* _TRACE_9P_H */ 151#endif /* _TRACE_9P_H */
diff --git a/net/9p/client.c b/net/9p/client.c
index addc116cecf0..01f1779eba80 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -127,7 +127,7 @@ static int parse_opts(char *opts, struct p9_client *clnt)
127 char *s; 127 char *s;
128 int ret = 0; 128 int ret = 0;
129 129
130 clnt->proto_version = p9_proto_2000u; 130 clnt->proto_version = p9_proto_2000L;
131 clnt->msize = 8192; 131 clnt->msize = 8192;
132 132
133 if (!opts) 133 if (!opts)
@@ -996,6 +996,9 @@ struct p9_client *p9_client_create(const char *dev_name, char *options)
996 goto destroy_tagpool; 996 goto destroy_tagpool;
997 997
998 if (!clnt->trans_mod) 998 if (!clnt->trans_mod)
999 clnt->trans_mod = v9fs_get_trans_by_name("virtio");
1000
1001 if (!clnt->trans_mod)
999 clnt->trans_mod = v9fs_get_default_trans(); 1002 clnt->trans_mod = v9fs_get_default_trans();
1000 1003
1001 if (clnt->trans_mod == NULL) { 1004 if (clnt->trans_mod == NULL) {