]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Do not send newer QFSInfo to legacy servers which can not support it
authorSteve French <sfrench@us.ibm.com>
Sat, 30 Sep 2006 04:13:17 +0000 (04:13 +0000)
committerSteve French <sfrench@us.ibm.com>
Sat, 30 Sep 2006 04:13:17 +0000 (04:13 +0000)
commit63848596fff62bbf2de32e05205e0115c4efc7c3
tree80ee9890d64f6c4b899144df8ee0c6cd9361aafb
parent50a911bb047289954995235f4f0392cfdf81c8ee
[CIFS] Do not send newer QFSInfo to legacy servers which can not support it

Fix dialect negotiation to save off when we have negotiated lanman.
This allows us to avoid sending some somewhat newer requests that the server
can not handle and go directly to the older version (infolevel) of the same
call. Make sure we try to negotiate a level which allows us to get the
server OS (which we check so we can detect Win9x vs. other legacy servers
and eventually work around the Win9x DOS time bug (they reverse date/time
fields).

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/cifspdu.h
fs/cifs/cifssmb.c
fs/cifs/connect.c
fs/cifs/sess.c