aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/mux.c
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@opteron.(none)>2007-10-17 15:31:07 -0400
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>2007-10-17 15:31:07 -0400
commita80d923e1321a7ed69a0918de37e39871bb536a0 (patch)
tree8294e5f14a0e938ae4675ef912a32fbade0f832b /net/9p/mux.c
parent0eafaae84e21ac033815cc9f33c3ae889cd7ccfe (diff)
9p: Make transports dynamic
This patch abstracts out the interfaces to underlying transports so that new transports can be added as modules. This should also allow kernel configuration of transports without ifdef-hell. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/mux.c')
-rw-r--r--net/9p/mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/9p/mux.c b/net/9p/mux.c
index 5d70558c4c61..934e2ea86e2c 100644
--- a/net/9p/mux.c
+++ b/net/9p/mux.c
@@ -71,7 +71,7 @@ struct p9_conn {
71 struct p9_mux_poll_task *poll_task; 71 struct p9_mux_poll_task *poll_task;
72 int msize; 72 int msize;
73 unsigned char *extended; 73 unsigned char *extended;
74 struct p9_transport *trans; 74 struct p9_trans *trans;
75 struct p9_idpool *tagpool; 75 struct p9_idpool *tagpool;
76 int err; 76 int err;
77 wait_queue_head_t equeue; 77 wait_queue_head_t equeue;
@@ -271,7 +271,7 @@ static void p9_mux_poll_stop(struct p9_conn *m)
271 * @msize - maximum message size 271 * @msize - maximum message size
272 * @extended - pointer to the extended flag 272 * @extended - pointer to the extended flag
273 */ 273 */
274struct p9_conn *p9_conn_create(struct p9_transport *trans, int msize, 274struct p9_conn *p9_conn_create(struct p9_trans *trans, int msize,
275 unsigned char *extended) 275 unsigned char *extended)
276{ 276{
277 int i, n; 277 int i, n;