diff options
author | Sripathi Kodi <sripathik@in.ibm.com> | 2010-03-05 13:50:14 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-03-05 16:04:42 -0500 |
commit | 342fee1d5c7dfa05f4e14ec1e583df4553b09776 (patch) | |
tree | 87931dea926f16b44374db8a849ef131cd6ff3de /include/net/9p | |
parent | 0fb80abd911a7cb1e6548b5279568dc1e8949702 (diff) |
9P2010.L handshake: Remove "dotu" variable
Removes 'dotu' variable and make everything dependent
on 'proto_version' field.
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r-- | include/net/9p/client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index d40f8c55dfae..52e1fff709e4 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -151,7 +151,6 @@ struct p9_req_t { | |||
151 | struct p9_client { | 151 | struct p9_client { |
152 | spinlock_t lock; /* protect client structure */ | 152 | spinlock_t lock; /* protect client structure */ |
153 | int msize; | 153 | int msize; |
154 | unsigned char dotu; | ||
155 | unsigned char proto_version; | 154 | unsigned char proto_version; |
156 | struct p9_trans_module *trans_mod; | 155 | struct p9_trans_module *trans_mod; |
157 | enum p9_trans_status status; | 156 | enum p9_trans_status status; |
@@ -224,5 +223,7 @@ int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int); | |||
224 | int p9stat_read(char *, int, struct p9_wstat *, int); | 223 | int p9stat_read(char *, int, struct p9_wstat *, int); |
225 | void p9stat_free(struct p9_wstat *); | 224 | void p9stat_free(struct p9_wstat *); |
226 | 225 | ||
226 | int p9_is_proto_dotu(struct p9_client *clnt); | ||
227 | int p9_is_proto_dotl(struct p9_client *clnt); | ||
227 | 228 | ||
228 | #endif /* NET_9P_CLIENT_H */ | 229 | #endif /* NET_9P_CLIENT_H */ |