cifs: Avoid umount hangs with smb2 when server is unresponsive
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Thu, 3 Oct 2013 10:44:45 +0000 (05:44 -0500)
committerSteve French <smfrench@gmail.com>
Mon, 7 Oct 2013 01:18:42 +0000 (20:18 -0500)
Do not send SMB2 Logoff command when reconnecting, the way smb1
code base works.

Also, no need to wait for a credit for an echo command when one is already
in flight.

Without these changes, umount command hangs if the server is unresponsive
e.g. hibernating.

Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@us.ibm.com>

No differences found