FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

LinkBack Thread Tools
Old 10-02-2012, 07:19 PM
Tim Gardner
Default net/9p: fix virtio transport to correctly update status on connect

From: Eric Van Hensbergen <ericvh@gmail.com>

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 <ericvh@gmail.com>
(cherry picked from commit 562ada612058133a5483c68a73605f3c5f42fffe)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
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;

kernel-team mailing list

Thread Tools

All times are GMT. The time now is 04:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org