diff options
Diffstat (limited to 'fs/9p/v9fs.c')
-rw-r--r-- | fs/9p/v9fs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 08d880fb5b6a..8ac246700b70 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c | |||
@@ -128,7 +128,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses) | |||
128 | 128 | ||
129 | /* setup defaults */ | 129 | /* setup defaults */ |
130 | v9ses->maxdata = 8192; | 130 | v9ses->maxdata = 8192; |
131 | v9ses->extended = 1; | 131 | v9ses->flags = V9FS_EXTENDED; |
132 | v9ses->afid = ~0; | 132 | v9ses->afid = ~0; |
133 | v9ses->debug = 0; | 133 | v9ses->debug = 0; |
134 | v9ses->cache = 0; | 134 | v9ses->cache = 0; |
@@ -178,7 +178,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses) | |||
178 | match_strcpy(v9ses->remotename, &args[0]); | 178 | match_strcpy(v9ses->remotename, &args[0]); |
179 | break; | 179 | break; |
180 | case Opt_legacy: | 180 | case Opt_legacy: |
181 | v9ses->extended = 0; | 181 | v9ses->flags &= ~V9FS_EXTENDED; |
182 | break; | 182 | break; |
183 | case Opt_nodevmap: | 183 | case Opt_nodevmap: |
184 | v9ses->nodev = 1; | 184 | v9ses->nodev = 1; |
@@ -244,7 +244,7 @@ struct p9_fid *v9fs_session_init(struct v9fs_session_info *v9ses, | |||
244 | v9ses->maxdata = v9ses->trans->maxsize-P9_IOHDRSZ; | 244 | v9ses->maxdata = v9ses->trans->maxsize-P9_IOHDRSZ; |
245 | 245 | ||
246 | v9ses->clnt = p9_client_create(trans, v9ses->maxdata+P9_IOHDRSZ, | 246 | v9ses->clnt = p9_client_create(trans, v9ses->maxdata+P9_IOHDRSZ, |
247 | v9ses->extended); | 247 | v9fs_extended(v9ses)); |
248 | 248 | ||
249 | if (IS_ERR(v9ses->clnt)) { | 249 | if (IS_ERR(v9ses->clnt)) { |
250 | retval = PTR_ERR(v9ses->clnt); | 250 | retval = PTR_ERR(v9ses->clnt); |