summaryrefslogtreecommitdiffstats
path: root/include/net/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen2008-02-07 02:25:09 +0100
committerEric Van Hensbergen2008-02-07 02:25:09 +0100
commit043aba403e9958c6526c9279b63919273cb09c13 (patch)
treea8caca5d1d9691407588f2e8dc8a1200843c998f /include/net/9p
parent9p: fix bug in p9_clone_stat (diff)
downloadkernel-qcow2-linux-043aba403e9958c6526c9279b63919273cb09c13.tar.gz
kernel-qcow2-linux-043aba403e9958c6526c9279b63919273cb09c13.tar.xz
kernel-qcow2-linux-043aba403e9958c6526c9279b63919273cb09c13.zip
9p: create transport rpc cut-thru
Add a new transport function which allows a cut-thru directly to the transport instead of processing request through the mux if the cut-thru exists. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r--include/net/9p/transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h
index 9dd4a05619a8..adbcafe99177 100644
--- a/include/net/9p/transport.h
+++ b/include/net/9p/transport.h
@@ -39,6 +39,8 @@ struct p9_trans {
int (*read) (struct p9_trans *, void *, int);
void (*close) (struct p9_trans *);
unsigned int (*poll)(struct p9_trans *, struct poll_table_struct *);
+ int (*rpc) (struct p9_trans *t, struct p9_fcall *tc,
+ struct p9_fcall **rc);
};
struct p9_trans_module {