Commit 562ada61 authored by Eric Van Hensbergen's avatar Eric Van Hensbergen

net/9p: fix virtio transport to correctly update status on connect

The 9p virtio transport was not updating its connection status correctly
preventing it from being able to mount the server.
Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent 08c4f1b0
...@@ -311,6 +311,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args) ...@@ -311,6 +311,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
} }
client->trans = (void *)chan; client->trans = (void *)chan;
client->status = Connected;
chan->client = client; chan->client = client;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment