From: Shirish Pargaonkar Date: Thu, 3 Oct 2013 10:44:45 +0000 (-0500) Subject: cifs: Avoid umount hangs with smb2 when server is unresponsive X-Git-Tag: v3.12-rc6~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4c7df6c20b407ecbf1a985edc33d967371c2e8;p=pandora-kernel.git cifs: Avoid umount hangs with smb2 when server is unresponsive 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 Acked-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed