summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2010-01-16 01:54:03 +0100
committerEric Van Hensbergen <ericvh@gmail.com>2010-02-08 21:13:30 +0100
commit562ada612058133a5483c68a73605f3c5f42fffe (patch)
tree1c169da7e0d30c6f69d5d48825240480f04bf513 /net
parentMerge branch 'v4l_for_linus' of git://linuxtv.org/fixes (diff)
downloadlinux-562ada612058133a5483c68a73605f3c5f42fffe.tar.xz
linux-562ada612058133a5483c68a73605f3c5f42fffe.zip
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)
}
client->trans = (void *)chan;
+ client->status = Connected;
chan->client = client;
return 0;