aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2010-01-15 19:54:03 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2010-02-08 15:13:30 -0500
commit562ada612058133a5483c68a73605f3c5f42fffe (patch)
tree1c169da7e0d30c6f69d5d48825240480f04bf513 /net
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')
-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 ea1e3daabefe..67c4bc704c5a 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)
311 } 311 }
312 312
313 client->trans = (void *)chan; 313 client->trans = (void *)chan;
314 client->status = Connected;
314 chan->client = client; 315 chan->client = client;
315 316
316 return 0; 317 return 0;