cifs: check for unresponsive server every time we call kernel_recvmsg
authorJeff Layton <jlayton@redhat.com>
Tue, 11 Oct 2011 10:41:32 +0000 (06:41 -0400)
committerSteve French <smfrench@gmail.com>
Thu, 13 Oct 2011 04:41:59 +0000 (23:41 -0500)
commitba749e6d5227de22e442c6088cc7dc1f0c5c68bf
treefef72676f66e01ae22e61a27d7e70345ca9e539e
parente831e6cf3acb058d898411367a582deef80e32f8
cifs: check for unresponsive server every time we call kernel_recvmsg

If the server stops sending data while in the middle of sending a
response then we still want to reconnect it if it doesn't come back.

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