diff options
author | Steve French <sfrench@us.ibm.com> | 2006-09-30 09:25:52 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-09-30 09:25:52 -0400 |
commit | de7ed55dbb2f2c44be669d56c4adf28cbffb26ce (patch) | |
tree | 07dcca53b776d7bcfa25d4c7c6c614618f186b3d /fs/cifs/cifsfs.c | |
parent | 9ac00b7d96045fa3ce573e0ad5cdc0350ad8e1d2 (diff) |
[CIFS] Make use of newer QFSInfo dependent on capability bit instead of
whether we negotiated legacy lanman dialect so we do not keep retrying
for mount to WindowsME
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index d6d226addde2..43364361276e 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -199,7 +199,7 @@ cifs_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
199 | /* Only need to call the old QFSInfo if failed | 199 | /* Only need to call the old QFSInfo if failed |
200 | on newer one */ | 200 | on newer one */ |
201 | if(rc) | 201 | if(rc) |
202 | if((pTcon->ses->flags & CIFS_SES_LANMAN) == 0) | 202 | if(pTcon->ses->capabilities & CAP_NT_SMBS) |
203 | rc = CIFSSMBQFSInfo(xid, pTcon, buf); /* not supported by OS2 */ | 203 | rc = CIFSSMBQFSInfo(xid, pTcon, buf); /* not supported by OS2 */ |
204 | 204 | ||
205 | /* Some old Windows servers also do not support level 103, retry with | 205 | /* Some old Windows servers also do not support level 103, retry with |