aboutsummaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2010-01-15 18:54:03 -0600
committerEric Van Hensbergen <ericvh@gmail.com>2010-02-08 14:13:30 -0600
commit562ada612058133a5483c68a73605f3c5f42fffe (patch)
tree1c169da7e0d30c6f69d5d48825240480f04bf513 /net/9p
parent08c4f1b096cc2468908ea58a77d2ef92ef765c52 (diff)
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: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
-rw-r--r--net/9p/trans_virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index ea1e3daabef..67c4bc704c5 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -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;