diff options
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r-- | include/net/9p/9p.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 7726ff41c3e6..686425a97b0f 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h | |||
@@ -216,6 +216,7 @@ struct p9_tauth { | |||
216 | u32 afid; | 216 | u32 afid; |
217 | struct p9_str uname; | 217 | struct p9_str uname; |
218 | struct p9_str aname; | 218 | struct p9_str aname; |
219 | u32 n_uname; /* 9P2000.u extensions */ | ||
219 | }; | 220 | }; |
220 | 221 | ||
221 | struct p9_rauth { | 222 | struct p9_rauth { |
@@ -239,6 +240,7 @@ struct p9_tattach { | |||
239 | u32 afid; | 240 | u32 afid; |
240 | struct p9_str uname; | 241 | struct p9_str uname; |
241 | struct p9_str aname; | 242 | struct p9_str aname; |
243 | u32 n_uname; /* 9P2000.u extensions */ | ||
242 | }; | 244 | }; |
243 | 245 | ||
244 | struct p9_rattach { | 246 | struct p9_rattach { |
@@ -382,8 +384,9 @@ int p9_deserialize_fcall(void *buf, u32 buflen, struct p9_fcall *fc, int dotu); | |||
382 | void p9_set_tag(struct p9_fcall *fc, u16 tag); | 384 | void p9_set_tag(struct p9_fcall *fc, u16 tag); |
383 | struct p9_fcall *p9_create_tversion(u32 msize, char *version); | 385 | struct p9_fcall *p9_create_tversion(u32 msize, char *version); |
384 | struct p9_fcall *p9_create_tattach(u32 fid, u32 afid, char *uname, | 386 | struct p9_fcall *p9_create_tattach(u32 fid, u32 afid, char *uname, |
385 | char *aname); | 387 | char *aname, u32 n_uname, int dotu); |
386 | struct p9_fcall *p9_create_tauth(u32 afid, char *uname, char *aname); | 388 | struct p9_fcall *p9_create_tauth(u32 afid, char *uname, char *aname, |
389 | u32 n_uname, int dotu); | ||
387 | struct p9_fcall *p9_create_tflush(u16 oldtag); | 390 | struct p9_fcall *p9_create_tflush(u16 oldtag); |
388 | struct p9_fcall *p9_create_twalk(u32 fid, u32 newfid, u16 nwname, | 391 | struct p9_fcall *p9_create_twalk(u32 fid, u32 newfid, u16 nwname, |
389 | char **wnames); | 392 | char **wnames); |
@@ -412,18 +415,4 @@ int p9_idpool_check(int id, struct p9_idpool *p); | |||
412 | 415 | ||
413 | int p9_error_init(void); | 416 | int p9_error_init(void); |
414 | int p9_errstr2errno(char *, int); | 417 | int p9_errstr2errno(char *, int); |
415 | |||
416 | #ifdef CONFIG_SYSCTL | ||
417 | int __init p9_sysctl_register(void); | ||
418 | void __exit p9_sysctl_unregister(void); | ||
419 | #else | ||
420 | static inline int p9_sysctl_register(void) | ||
421 | { | ||
422 | return 0; | ||
423 | } | ||
424 | static inline void p9_sysctl_unregister(void) | ||
425 | { | ||
426 | } | ||
427 | #endif | ||
428 | |||
429 | #endif /* NET_9P_H */ | 418 | #endif /* NET_9P_H */ |