diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-14 22:30:13 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-14 22:30:51 -0400 |
| commit | 8f40f672e6bb071812f61bfbd30efc3fc1263ad1 (patch) | |
| tree | 8dcdbbb7adc68647267794c4e3a4686afd94ad65 /net/9p/mod.c | |
| parent | 8978a318837d7acefca82645017c0534aeba5a36 (diff) | |
| parent | 887b3ece65be7b643dfdae0d433c91a26a3f437d (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
* 'for-linus' of ssh://master.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
9p: fix error path during early mount
9p: make cryptic unknown error from server less scary
9p: fix flags length in net
9p: Correct fidpool creation failure in p9_client_create
9p: use struct mutex instead of struct semaphore
9p: propagate parse_option changes to client and transports
fs/9p/v9fs.c (v9fs_parse_options): Handle kstrdup and match_strdup failure.
9p: Documentation updates
add match_strlcpy() us it to make v9fs make uname and remotename parsing more robust
Diffstat (limited to 'net/9p/mod.c')
| -rw-r--r-- | net/9p/mod.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/9p/mod.c b/net/9p/mod.c index c285aab2af04..bdee1fb7cc62 100644 --- a/net/9p/mod.c +++ b/net/9p/mod.c | |||
| @@ -39,9 +39,6 @@ module_param_named(debug, p9_debug_level, uint, 0); | |||
| 39 | MODULE_PARM_DESC(debug, "9P debugging level"); | 39 | MODULE_PARM_DESC(debug, "9P debugging level"); |
| 40 | #endif | 40 | #endif |
| 41 | 41 | ||
| 42 | extern int p9_mux_global_init(void); | ||
| 43 | extern void p9_mux_global_exit(void); | ||
| 44 | |||
| 45 | /* | 42 | /* |
| 46 | * Dynamic Transport Registration Routines | 43 | * Dynamic Transport Registration Routines |
| 47 | * | 44 | * |
| @@ -52,7 +49,7 @@ static struct p9_trans_module *v9fs_default_transport; | |||
| 52 | 49 | ||
| 53 | /** | 50 | /** |
| 54 | * v9fs_register_trans - register a new transport with 9p | 51 | * v9fs_register_trans - register a new transport with 9p |
| 55 | * @m - structure describing the transport module and entry points | 52 | * @m: structure describing the transport module and entry points |
| 56 | * | 53 | * |
| 57 | */ | 54 | */ |
| 58 | void v9fs_register_trans(struct p9_trans_module *m) | 55 | void v9fs_register_trans(struct p9_trans_module *m) |
| @@ -65,7 +62,7 @@ EXPORT_SYMBOL(v9fs_register_trans); | |||
| 65 | 62 | ||
| 66 | /** | 63 | /** |
| 67 | * v9fs_match_trans - match transport versus registered transports | 64 | * v9fs_match_trans - match transport versus registered transports |
| 68 | * @arg: string identifying transport | 65 | * @name: string identifying transport |
| 69 | * | 66 | * |
| 70 | */ | 67 | */ |
| 71 | struct p9_trans_module *v9fs_match_trans(const substring_t *name) | 68 | struct p9_trans_module *v9fs_match_trans(const substring_t *name) |
| @@ -110,6 +107,7 @@ static int __init init_p9(void) | |||
| 110 | 107 | ||
| 111 | p9_error_init(); | 108 | p9_error_init(); |
| 112 | printk(KERN_INFO "Installing 9P2000 support\n"); | 109 | printk(KERN_INFO "Installing 9P2000 support\n"); |
| 110 | p9_trans_fd_init(); | ||
| 113 | 111 | ||
| 114 | return ret; | 112 | return ret; |
| 115 | } | 113 | } |
