diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-13 19:45:21 -0400 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 12:04:42 -0400 |
commit | 91b8534fa8f5e01f249b1bf8df0a2540053549ad (patch) | |
tree | fde6b3b63dad229108106553106995889b4f0fa7 /include/net/9p/client.h | |
parent | 1b0a763bdd5ed467d0e03b88e045000c749303fb (diff) |
9p: make rpc code common and rework flush code
This code moves the rpc function to the common client base,
reorganizes the flush code to be more simple and stable, and
makes the necessary adjustments to the underlying transports
to adapt to the new structure.
This reduces the overall amount of code duplication between the
transports and should make adding new transports more straightforward.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p/client.h')
-rw-r--r-- | include/net/9p/client.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 4fecaabd17bd..6a71d9067818 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -212,8 +212,7 @@ struct p9_stat *p9_client_stat(struct p9_fid *fid); | |||
212 | int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); | 212 | int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); |
213 | struct p9_stat *p9_client_dirread(struct p9_fid *fid, u64 offset); | 213 | struct p9_stat *p9_client_dirread(struct p9_fid *fid, u64 offset); |
214 | 214 | ||
215 | struct p9_req_t *p9_tag_alloc(struct p9_client *, u16); | ||
216 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 215 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
217 | void p9_free_req(struct p9_client *, struct p9_req_t *); | 216 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); |
218 | 217 | ||
219 | #endif /* NET_9P_CLIENT_H */ | 218 | #endif /* NET_9P_CLIENT_H */ |