aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r--include/net/9p/client.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index 6a71d9067818..c70a0f0b448d 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -201,13 +201,11 @@ int p9_client_fcreate(struct p9_fid *fid, char *name, u32 perm, int mode,
201 char *extension); 201 char *extension);
202int p9_client_clunk(struct p9_fid *fid); 202int p9_client_clunk(struct p9_fid *fid);
203int p9_client_remove(struct p9_fid *fid); 203int p9_client_remove(struct p9_fid *fid);
204int p9_client_read(struct p9_fid *fid, char *data, u64 offset, u32 count); 204int p9_client_read(struct p9_fid *fid, char *data, char __user *udata,
205 u64 offset, u32 count);
205int p9_client_readn(struct p9_fid *fid, char *data, u64 offset, u32 count); 206int p9_client_readn(struct p9_fid *fid, char *data, u64 offset, u32 count);
206int p9_client_write(struct p9_fid *fid, char *data, u64 offset, u32 count); 207int p9_client_write(struct p9_fid *fid, char *data, const char __user *udata,
207int p9_client_uread(struct p9_fid *fid, char __user *data, u64 offset, 208 u64 offset, u32 count);
208 u32 count);
209int p9_client_uwrite(struct p9_fid *fid, const char __user *data, u64 offset,
210 u32 count);
211struct p9_stat *p9_client_stat(struct p9_fid *fid); 209struct p9_stat *p9_client_stat(struct p9_fid *fid);
212int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); 210int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst);
213struct p9_stat *p9_client_dirread(struct p9_fid *fid, u64 offset); 211struct p9_stat *p9_client_dirread(struct p9_fid *fid, u64 offset);