diff options
author | Prem Karat <prem.karat@linux.vnet.ibm.com> | 2011-05-06 15:05:32 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-07-23 16:32:49 +0200 |
commit | 4d63055fa9657aa402da25575045c23f37c3da05 (patch) | |
tree | 6d85570570026eed3cbb50a1ab835bbe686e326b /include/net/9p/transport.h | |
parent | fs/9p: Fix invalid mount options/args (diff) | |
download | linux-4d63055fa9657aa402da25575045c23f37c3da05.tar.xz linux-4d63055fa9657aa402da25575045c23f37c3da05.zip |
fs/9p: Clean-up get_protocol_version() to use strcmp
Signed-off-by: Prem Karat <prem.karat@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p/transport.h')
-rw-r--r-- | include/net/9p/transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h index d8549fb9c742..83531ebeee99 100644 --- a/include/net/9p/transport.h +++ b/include/net/9p/transport.h @@ -67,7 +67,7 @@ struct p9_trans_module { void v9fs_register_trans(struct p9_trans_module *m); void v9fs_unregister_trans(struct p9_trans_module *m); -struct p9_trans_module *v9fs_get_trans_by_name(const substring_t *name); +struct p9_trans_module *v9fs_get_trans_by_name(char *s); struct p9_trans_module *v9fs_get_default_trans(void); void v9fs_put_trans(struct p9_trans_module *m); #endif /* NET_9P_TRANSPORT_H */ |