aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/9p/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index 812a4cdf5302..5e94dabddb68 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -1015,6 +1015,9 @@ struct p9_client *p9_client_create(const char *dev_name, char *options)
1015 goto destroy_tagpool; 1015 goto destroy_tagpool;
1016 1016
1017 if (!clnt->trans_mod) 1017 if (!clnt->trans_mod)
1018 clnt->trans_mod = v9fs_get_trans_by_name("virtio");
1019
1020 if (!clnt->trans_mod)
1018 clnt->trans_mod = v9fs_get_default_trans(); 1021 clnt->trans_mod = v9fs_get_default_trans();
1019 1022
1020 if (clnt->trans_mod == NULL) { 1023 if (clnt->trans_mod == NULL) {