diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-09 14:45:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-09 14:45:44 -0800 |
commit | 8def5f51b012efb00e77ba2d04696cc0aadd0609 (patch) | |
tree | 17b51ff707fd1b3efec3a3ab872f0d7a7416aca5 /fs/cifs/connect.c | |
parent | a776878d6cf8a81fa65b29aa9bd6a10a5131e71c (diff) | |
parent | 7023676f9ee851d94f0942e879243fc1f9081c47 (diff) | |
download | op-kernel-dev-8def5f51b012efb00e77ba2d04696cc0aadd0609.zip op-kernel-dev-8def5f51b012efb00e77ba2d04696cc0aadd0609.tar.gz |
Merge git://git.samba.org/sfrench/cifs-2.6
* git://git.samba.org/sfrench/cifs-2.6:
cifs: check for NULL last_entry before calling cifs_save_resume_key
cifs: attempt to freeze while looping on a receive attempt
cifs: Fix sparse warning when calling cifs_strtoUCS
CIFS: Add descriptions to the brlock cache functions
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index d6a972d..8cd4b52 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; |