summaryrefslogtreecommitdiffstats
path: root/include/net/9p
diff options
context:
space:
mode:
authorAl Viro2015-04-02 01:57:53 +0200
committerAl Viro2015-04-12 04:28:25 +0200
commit4f3b35c157e43107cc7e1f1aa06694e8b22e10bb (patch)
tree2e871c8698529878f93c225b818f4aa4b871f3c6 /include/net/9p
parentnommu: use __vfs_read() (diff)
downloadkernel-qcow2-linux-4f3b35c157e43107cc7e1f1aa06694e8b22e10bb.tar.gz
kernel-qcow2-linux-4f3b35c157e43107cc7e1f1aa06694e8b22e10bb.tar.xz
kernel-qcow2-linux-4f3b35c157e43107cc7e1f1aa06694e8b22e10bb.zip
net/9p: switch the guts of p9_client_{read,write}() to iov_iter
... and have get_user_pages_fast() mapping fewer pages than requested to generate a short read/write. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/9p')
-rw-r--r--include/net/9p/transport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h
index 2a25dec30211..5122b5e40f78 100644
--- a/include/net/9p/transport.h
+++ b/include/net/9p/transport.h
@@ -61,7 +61,7 @@ struct p9_trans_module {
int (*cancel) (struct p9_client *, struct p9_req_t *req);
int (*cancelled)(struct p9_client *, struct p9_req_t *req);
int (*zc_request)(struct p9_client *, struct p9_req_t *,
- char *, char *, int , int, int, int);
+ struct iov_iter *, struct iov_iter *, int , int, int);
};
void v9fs_register_trans(struct p9_trans_module *m);