diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/9p/9p.h | 2 | ||||
-rw-r--r-- | include/net/9p/client.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index d2c60c73619d..b77c1478c99f 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -56,9 +56,9 @@ enum p9_debug_flags { | |||
56 | P9_DEBUG_PKT = (1<<10), | 56 | P9_DEBUG_PKT = (1<<10), |
57 | }; | 57 | }; |
58 | 58 | ||
59 | #ifdef CONFIG_NET_9P_DEBUG | ||
59 | extern unsigned int p9_debug_level; | 60 | extern unsigned int p9_debug_level; |
60 | 61 | ||
61 | #ifdef CONFIG_NET_9P_DEBUG | ||
62 | #define P9_DPRINTK(level, format, arg...) \ | 62 | #define P9_DPRINTK(level, format, arg...) \ |
63 | do { \ | 63 | do { \ |
64 | if ((p9_debug_level & level) == level) {\ | 64 | if ((p9_debug_level & level) == level) {\ |
diff --git a/include/net/9p/client.h b/include/net/9p/client.h index 1f17f3d93727..4012e07162e5 100644 --- a/include/net/9p/client.h +++ b/include/net/9p/client.h | |||
@@ -182,6 +182,7 @@ struct p9_fid { | |||
182 | struct list_head dlist; /* list of all fids attached to a dentry */ | 182 | struct list_head dlist; /* list of all fids attached to a dentry */ |
183 | }; | 183 | }; |
184 | 184 | ||
185 | int p9_client_version(struct p9_client *); | ||
185 | struct p9_client *p9_client_create(const char *dev_name, char *options); | 186 | struct p9_client *p9_client_create(const char *dev_name, char *options); |
186 | void p9_client_destroy(struct p9_client *clnt); | 187 | void p9_client_destroy(struct p9_client *clnt); |
187 | void p9_client_disconnect(struct p9_client *clnt); | 188 | void p9_client_disconnect(struct p9_client *clnt); |
@@ -206,6 +207,7 @@ int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst); | |||
206 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); | 207 | struct p9_req_t *p9_tag_lookup(struct p9_client *, u16); |
207 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); | 208 | void p9_client_cb(struct p9_client *c, struct p9_req_t *req); |
208 | 209 | ||
210 | int p9_parse_header(struct p9_fcall *, int32_t *, int8_t *, int16_t *, int); | ||
209 | int p9stat_read(char *, int, struct p9_wstat *, int); | 211 | int p9stat_read(char *, int, struct p9_wstat *, int); |
210 | void p9stat_free(struct p9_wstat *); | 212 | void p9stat_free(struct p9_wstat *); |
211 | 213 | ||