]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: clean up checks in cifs_echo_request
authorJeff Layton <jlayton@redhat.com>
Wed, 9 Feb 2011 17:01:42 +0000 (12:01 -0500)
committerSteve French <sfrench@us.ibm.com>
Thu, 10 Feb 2011 03:44:20 +0000 (03:44 +0000)
commit8e4cfb1fdd96a1f01fc07528a6e462bdb55d9dc3
tree7473861bc9894324f5828ac55c40db75c7f27142
parent3c4fd0ed2905651138839ea7ee3faa25d9d6b58d
cifs: clean up checks in cifs_echo_request

Follow-on patch to 3c4fd0ed which is already in Steve's tree...

The check for tcpStatus == CifsGood is not meaningful since it doesn't
indicate whether the NEGOTIATE request has been done. Also, clarify
why we're checking for maxBuf == 0.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c