From patchwork Tue Oct 2 19:19:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Lucid, SRU] net/9p: fix virtio transport to correctly update status on connect X-Patchwork-Submitter: Tim Gardner X-Patchwork-Id: 188634 Message-Id: <1349205544-78515-1-git-send-email-tim.gardner@canonical.com> To: kernel-team@lists.ubuntu.com Date: Tue, 2 Oct 2012 13:19:04 -0600 From: Tim Gardner List-Id: Kernel team discussions From: Eric Van Hensbergen BugLink: http://bugs.launchpad.net/bugs/676823 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 (cherry picked from commit 562ada612058133a5483c68a73605f3c5f42fffe) Signed-off-by: Tim Gardner Acked-by: Colin Ian King --- net/9p/trans_virtio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index ea1e3da..67c4bc7 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;