commit | eb4c7df6c20b407ecbf1a985edc33d967371c2e8 | [log] [tgz] |
---|---|---|
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | Thu Oct 03 05:44:45 2013 -0500 |
committer | Steve French <smfrench@gmail.com> | Sun Oct 06 20:18:42 2013 -0500 |
tree | 09e3117fabaa3ec8f95f3e70a747f5e0f9990ada | |
parent | c31f330719b7331b2112a5525fe5941a99ac223d [diff] |
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 <shirishpargaonkar@gmail.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@us.ibm.com>