Skip to content

Commit

Permalink
net/9p: fix virtio transport to correctly update status on connect
Browse files Browse the repository at this point in the history
The 9p virtio transport was not updating its connection status correctly
preventing it from being able to mount the server.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Eric Van Hensbergen committed Feb 8, 2010
1 parent 08c4f1b commit 562ada6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
}

client->trans = (void *)chan;
client->status = Connected;
chan->client = client;

return 0;
Expand Down

0 comments on commit 562ada6

Please sign in to comment.