diff options
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r-- | include/net/9p/client.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index d65ed7c69063..9b9221a21392 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -29,7 +29,7 @@ struct p9_client { | |||
29 | spinlock_t lock; /* protect client structure */ | 29 | spinlock_t lock; /* protect client structure */ |
30 | int msize; | 30 | int msize; |
31 | unsigned char dotu; | 31 | unsigned char dotu; |
32 | struct p9_transport *trans; | 32 | struct p9_trans *trans; |
33 | struct p9_conn *conn; | 33 | struct p9_conn *conn; |
34 | 34 | ||
35 | struct p9_idpool *fidpool; | 35 | struct p9_idpool *fidpool; |
@@ -52,13 +52,14 @@ struct p9_fid { | |||
52 | struct list_head dlist; /* list of all fids attached to a dentry */ | 52 | struct list_head dlist; /* list of all fids attached to a dentry */ |
53 | }; | 53 | }; |
54 | 54 | ||
55 | struct p9_client *p9_client_create(struct p9_transport *trans, int msize, | 55 | struct p9_client *p9_client_create(struct p9_trans *trans, int msize, |
56 | int dotu); | 56 | int dotu); |
57 | void p9_client_destroy(struct p9_client *clnt); | 57 | void p9_client_destroy(struct p9_client *clnt); |
58 | void p9_client_disconnect(struct p9_client *clnt); | 58 | void p9_client_disconnect(struct p9_client *clnt); |
59 | struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid, | 59 | struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid, |
60 | char *uname, char *aname); | 60 | char *uname, u32 n_uname, char *aname); |
61 | struct p9_fid *p9_client_auth(struct p9_client *clnt, char *uname, char *aname); | 61 | struct p9_fid *p9_client_auth(struct p9_client *clnt, char *uname, |
62 | u32 n_uname, char *aname); | ||
62 | struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames, | 63 | struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames, |
63 | int clone); | 64 | int clone); |
64 | int p9_client_open(struct p9_fid *fid, int mode); | 65 | int p9_client_open(struct p9_fid *fid, int mode); |