summaryrefslogtreecommitdiff
path: root/net/9p/trans_fd.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2013-11-12 20:20:03 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2013-11-24 02:13:36 +0400
commitf94741fd2832e7abc30fbf6dc13ed627c1fcc01a (patch)
treee40c58a53f78e0f3699ffb6cbafa2e5bc5200f3e /net/9p/trans_fd.c
parentdd2a0a35c3121a88af3c2228a0bc497b5e4a7f56 (diff)
downloadlinux-f94741fd2832e7abc30fbf6dc13ed627c1fcc01a.tar.xz
net/9p: remove virtio default hack and set appropriate bits instead
A few releases back a patch made virtio the default transport, however it was done in a way which side-stepped the mechanism put in place to allow for this selection. This patch cleans that up while maintaining virtio as the default transport. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_fd.c')
-rw-r--r--net/9p/trans_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 9321a7763067..b7bd7f2961bf 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -1048,7 +1048,7 @@ p9_fd_create(struct p9_client *client, const char *addr, char *args)
static struct p9_trans_module p9_tcp_trans = {
.name = "tcp",
.maxsize = MAX_SOCK_BUF,
- .def = 1,
+ .def = 0,
.create = p9_fd_create_tcp,
.close = p9_fd_close,
.request = p9_fd_request,