diff options
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r-- | include/net/9p/client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 475ef5cf1644..1e49b4d1030b 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -77,6 +77,7 @@ enum p9_req_status_t { | |||
77 | * struct p9_req_t - request slots | 77 | * struct p9_req_t - request slots |
78 | * @status: status of this request slot | 78 | * @status: status of this request slot |
79 | * @t_err: transport error | 79 | * @t_err: transport error |
80 | * @flush_tag: tag of request being flushed (for flush requests) | ||
80 | * @wq: wait_queue for the client to block on for this request | 81 | * @wq: wait_queue for the client to block on for this request |
81 | * @tc: the request fcall structure | 82 | * @tc: the request fcall structure |
82 | * @rc: the response fcall structure | 83 | * @rc: the response fcall structure |
@@ -97,10 +98,10 @@ enum p9_req_status_t { | |||
97 | struct p9_req_t { | 98 | struct p9_req_t { |
98 | int status; | 99 | int status; |
99 | int t_err; | 100 | int t_err; |
101 | u16 flush_tag; | ||
100 | wait_queue_head_t *wq; | 102 | wait_queue_head_t *wq; |
101 | struct p9_fcall *tc; | 103 | struct p9_fcall *tc; |
102 | struct p9_fcall *rc; | 104 | struct p9_fcall *rc; |
103 | u16 flush_tag; | ||
104 | void *aux; | 105 | void *aux; |
105 | 106 | ||
106 | struct list_head req_list; | 107 | struct list_head req_list; |
@@ -199,10 +200,12 @@ int p9_client_read(struct p9_fid *fid, char *data, char __user *udata, | |||
199 | u64 offset, u32 count); | 200 | u64 offset, u32 count); |
200 | int p9_client_write(struct p9_fid *fid, char *data, const char __user *udata, | 201 | int p9_client_write(struct p9_fid *fid, char *data, const char __user *udata, |
201 | u64 offset, u32 count); | 202 | u64 offset, u32 count); |
202 | struct p9_stat *p9_client_stat(struct p9_fid *fid); | 203 | struct p9_wstat *p9_client_stat(struct p9_fid *fid); |
203 | int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); | 204 | int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); |
204 | 205 | ||
205 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 206 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
206 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); | 207 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); |
207 | 208 | ||
209 | void p9stat_free(struct p9_wstat *); | ||
210 | |||
208 | #endif /* NET_9P_CLIENT_H */ | 211 | #endif /* NET_9P_CLIENT_H */ |