diff options
| author | Eric Van Hensbergen <ericvh@gmail.com> | 2013-11-12 11:20:03 -0500 |
|---|---|---|
| committer | Eric Van Hensbergen <ericvh@gmail.com> | 2013-11-23 17:13:36 -0500 |
| commit | f94741fd2832e7abc30fbf6dc13ed627c1fcc01a (patch) | |
| tree | e40c58a53f78e0f3699ffb6cbafa2e5bc5200f3e /net/9p/client.c | |
| parent | dd2a0a35c3121a88af3c2228a0bc497b5e4a7f56 (diff) | |
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/client.c')
| -rw-r--r-- | net/9p/client.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index ee8fd6bd4035..a5e4d2dcb03e 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
| @@ -1012,9 +1012,6 @@ struct p9_client *p9_client_create(const char *dev_name, char *options) | |||
| 1012 | goto destroy_tagpool; | 1012 | goto destroy_tagpool; |
| 1013 | 1013 | ||
| 1014 | if (!clnt->trans_mod) | 1014 | if (!clnt->trans_mod) |
| 1015 | clnt->trans_mod = v9fs_get_trans_by_name("virtio"); | ||
| 1016 | |||
| 1017 | if (!clnt->trans_mod) | ||
| 1018 | clnt->trans_mod = v9fs_get_default_trans(); | 1015 | clnt->trans_mod = v9fs_get_default_trans(); |
| 1019 | 1016 | ||
| 1020 | if (clnt->trans_mod == NULL) { | 1017 | if (clnt->trans_mod == NULL) { |
