X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fcifs%2Fconnect.c;h=8cd4b52d42174ee0a4d524d3176b59102751c61e;hb=ab347d94d6515ea9a5be04faccd9b14a319b0a7a;hp=d6a972df033800eb0c00f6116b3c4b6bb309bd87;hpb=dd38d298385cb054263e634cf94cf18dc3ae1fc1;p=pandora-kernel.git diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index d6a972df0338..8cd4b52d4217 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -441,6 +441,8 @@ cifs_readv_from_socket(struct TCP_Server_Info *server, struct kvec *iov_orig, smb_msg.msg_controllen = 0; for (total_read = 0; to_read; total_read += length, to_read -= length) { + try_to_freeze(); + if (server_unresponsive(server)) { total_read = -EAGAIN; break;