mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
dd2a0a35c3
commit
f94741fd28
3 changed files with 2 additions and 5 deletions
|
@ -1011,9 +1011,6 @@ struct p9_client *p9_client_create(const char *dev_name, char *options)
|
|||
if (err < 0)
|
||||
goto destroy_tagpool;
|
||||
|
||||
if (!clnt->trans_mod)
|
||||
clnt->trans_mod = v9fs_get_trans_by_name("virtio");
|
||||
|
||||
if (!clnt->trans_mod)
|
||||
clnt->trans_mod = v9fs_get_default_trans();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue