diff options
Diffstat (limited to 'fs/9p/v9fs.c')
-rw-r--r-- | fs/9p/v9fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index b633433f9ced..d37416eb5791 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c | |||
@@ -50,7 +50,7 @@ enum { | |||
50 | Opt_port, Opt_msize, Opt_uid, Opt_gid, Opt_afid, Opt_debug, | 50 | Opt_port, Opt_msize, Opt_uid, Opt_gid, Opt_afid, Opt_debug, |
51 | Opt_rfdno, Opt_wfdno, | 51 | Opt_rfdno, Opt_wfdno, |
52 | /* String options */ | 52 | /* String options */ |
53 | Opt_name, Opt_remotename, | 53 | Opt_uname, Opt_remotename, |
54 | /* Options that take no arguments */ | 54 | /* Options that take no arguments */ |
55 | Opt_legacy, Opt_nodevmap, Opt_unix, Opt_tcp, Opt_fd, | 55 | Opt_legacy, Opt_nodevmap, Opt_unix, Opt_tcp, Opt_fd, |
56 | /* Error token */ | 56 | /* Error token */ |
@@ -66,7 +66,7 @@ static match_table_t tokens = { | |||
66 | {Opt_rfdno, "rfdno=%u"}, | 66 | {Opt_rfdno, "rfdno=%u"}, |
67 | {Opt_wfdno, "wfdno=%u"}, | 67 | {Opt_wfdno, "wfdno=%u"}, |
68 | {Opt_debug, "debug=%x"}, | 68 | {Opt_debug, "debug=%x"}, |
69 | {Opt_name, "name=%s"}, | 69 | {Opt_uname, "uname=%s"}, |
70 | {Opt_remotename, "aname=%s"}, | 70 | {Opt_remotename, "aname=%s"}, |
71 | {Opt_unix, "proto=unix"}, | 71 | {Opt_unix, "proto=unix"}, |
72 | {Opt_tcp, "proto=tcp"}, | 72 | {Opt_tcp, "proto=tcp"}, |
@@ -115,7 +115,7 @@ static void v9fs_parse_options(char *options, struct v9fs_session_info *v9ses) | |||
115 | if (!*p) | 115 | if (!*p) |
116 | continue; | 116 | continue; |
117 | token = match_token(p, tokens, args); | 117 | token = match_token(p, tokens, args); |
118 | if (token < Opt_name) { | 118 | if (token < Opt_uname) { |
119 | if ((ret = match_int(&args[0], &option)) < 0) { | 119 | if ((ret = match_int(&args[0], &option)) < 0) { |
120 | dprintk(DEBUG_ERROR, | 120 | dprintk(DEBUG_ERROR, |
121 | "integer field, but no integer?\n"); | 121 | "integer field, but no integer?\n"); |
@@ -157,7 +157,7 @@ static void v9fs_parse_options(char *options, struct v9fs_session_info *v9ses) | |||
157 | case Opt_fd: | 157 | case Opt_fd: |
158 | v9ses->proto = PROTO_FD; | 158 | v9ses->proto = PROTO_FD; |
159 | break; | 159 | break; |
160 | case Opt_name: | 160 | case Opt_uname: |
161 | match_strcpy(v9ses->name, &args[0]); | 161 | match_strcpy(v9ses->name, &args[0]); |
162 | break; | 162 | break; |
163 | case Opt_remotename: | 163 | case Opt_remotename: |