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: firefly_0821_release~9833^2~3209^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=562ada612058133a5483c68a73605f3c5f42fffe;p=firefly-linux-kernel-4.4.55.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;