diff options
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r-- | include/net/9p/client.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index c38a005bd0cf..6fab66c5c5af 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -67,7 +67,6 @@ enum p9_trans_status { | |||
67 | * @REQ_STATUS_ALLOC: request has been allocated but not sent | 67 | * @REQ_STATUS_ALLOC: request has been allocated but not sent |
68 | * @REQ_STATUS_UNSENT: request waiting to be sent | 68 | * @REQ_STATUS_UNSENT: request waiting to be sent |
69 | * @REQ_STATUS_SENT: request sent to server | 69 | * @REQ_STATUS_SENT: request sent to server |
70 | * @REQ_STATUS_FLSH: a flush has been sent for this request | ||
71 | * @REQ_STATUS_RCVD: response received from server | 70 | * @REQ_STATUS_RCVD: response received from server |
72 | * @REQ_STATUS_FLSHD: request has been flushed | 71 | * @REQ_STATUS_FLSHD: request has been flushed |
73 | * @REQ_STATUS_ERROR: request encountered an error on the client side | 72 | * @REQ_STATUS_ERROR: request encountered an error on the client side |
@@ -83,7 +82,6 @@ enum p9_req_status_t { | |||
83 | REQ_STATUS_ALLOC, | 82 | REQ_STATUS_ALLOC, |
84 | REQ_STATUS_UNSENT, | 83 | REQ_STATUS_UNSENT, |
85 | REQ_STATUS_SENT, | 84 | REQ_STATUS_SENT, |
86 | REQ_STATUS_FLSH, | ||
87 | REQ_STATUS_RCVD, | 85 | REQ_STATUS_RCVD, |
88 | REQ_STATUS_FLSHD, | 86 | REQ_STATUS_FLSHD, |
89 | REQ_STATUS_ERROR, | 87 | REQ_STATUS_ERROR, |
@@ -130,7 +128,6 @@ struct p9_req_t { | |||
130 | * @proto_version: 9P protocol version to use | 128 | * @proto_version: 9P protocol version to use |
131 | * @trans_mod: module API instantiated with this client | 129 | * @trans_mod: module API instantiated with this client |
132 | * @trans: tranport instance state and API | 130 | * @trans: tranport instance state and API |
133 | * @conn: connection state information used by trans_fd | ||
134 | * @fidpool: fid handle accounting for session | 131 | * @fidpool: fid handle accounting for session |
135 | * @fidlist: List of active fid handles | 132 | * @fidlist: List of active fid handles |
136 | * @tagpool - transaction id accounting for session | 133 | * @tagpool - transaction id accounting for session |
@@ -159,7 +156,6 @@ struct p9_client { | |||
159 | struct p9_trans_module *trans_mod; | 156 | struct p9_trans_module *trans_mod; |
160 | enum p9_trans_status status; | 157 | enum p9_trans_status status; |
161 | void *trans; | 158 | void *trans; |
162 | struct p9_conn *conn; | ||
163 | 159 | ||
164 | struct p9_idpool *fidpool; | 160 | struct p9_idpool *fidpool; |
165 | struct list_head fidlist; | 161 | struct list_head fidlist; |
@@ -261,7 +257,7 @@ int p9_client_mkdir_dotl(struct p9_fid *fid, char *name, int mode, | |||
261 | int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status); | 257 | int p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status); |
262 | int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *fl); | 258 | int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *fl); |
263 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 259 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
264 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); | 260 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status); |
265 | 261 | ||
266 | int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int); | 262 | int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int); |
267 | int p9stat_read(struct p9_client *, char *, int, struct p9_wstat *); | 263 | int p9stat_read(struct p9_client *, char *, int, struct p9_wstat *); |