From: Eric Van Hensbergen Date: Sat, 16 Jan 2010 00:54:03 +0000 (-0600) Subject: net/9p: fix virtio transport to correctly update status on connect X-Git-Tag: v2.6.33-rc8~36^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=562ada612058133a5483c68a73605f3c5f42fffe;p=karo-tx-linux.git 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 --- 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) } client->trans = (void *)chan; + client->status = Connected; chan->client = client; return 0;