summaryrefslogtreecommitdiffstats
path: root/include/net/9p/client.h
diff options
context:
space:
mode:
authorPrem Karat <prem.karat@linux.vnet.ibm.com>2011-05-06 18:35:32 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2011-07-23 09:32:49 -0500
commit4d63055fa9657aa402da25575045c23f37c3da05 (patch)
tree6d85570570026eed3cbb50a1ab835bbe686e326b /include/net/9p/client.h
parenta2dd43bb0d7b9ce28f8a39254c25840c0730498e (diff)
downloadblackbird-op-linux-4d63055fa9657aa402da25575045c23f37c3da05.tar.gz
blackbird-op-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/client.h')
-rw-r--r--include/net/9p/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index d26d5e98a173..f7a8d036f803 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -36,9 +36,9 @@
*/
enum p9_proto_versions{
- p9_proto_legacy = 0,
- p9_proto_2000u = 1,
- p9_proto_2000L = 2,
+ p9_proto_legacy,
+ p9_proto_2000u,
+ p9_proto_2000L,
};
OpenPOWER on IntegriCloud