summaryrefslogtreecommitdiffstats
path: root/net/9p/trans_virtio.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2013-11-12 17:20:03 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2013-11-23 23:13:36 +0100
commitf94741fd2832e7abc30fbf6dc13ed627c1fcc01a (patch)
treee40c58a53f78e0f3699ffb6cbafa2e5bc5200f3e /net/9p/trans_virtio.c
parent9p: remove useless 'name' variable and assignment (diff)
downloadlinux-f94741fd2832e7abc30fbf6dc13ed627c1fcc01a.tar.xz
linux-f94741fd2832e7abc30fbf6dc13ed627c1fcc01a.zip
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_virtio.c')
-rw-r--r--net/9p/trans_virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 9c5a1aa34d12..cd1e1ede73a4 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -698,7 +698,7 @@ static struct p9_trans_module p9_virtio_trans = {
* page in zero copy.
*/
.maxsize = PAGE_SIZE * (VIRTQUEUE_NUM - 3),
- .def = 0,
+ .def = 1,
.owner = THIS_MODULE,
};