summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French2005-08-31 05:10:14 +0200
committerLinus Torvalds2005-09-23 20:37:53 +0200
commitede1327ea4ca8019ec6df24b3e837def091c26b8 (patch)
treef34c9293ae84a0f52828a41807b10ddf74260f9a /fs/cifs/connect.c
parent[PATCH] pci: fixup parent subordinate busnr (diff)
downloadkernel-qcow2-linux-ede1327ea4ca8019ec6df24b3e837def091c26b8.tar.gz
kernel-qcow2-linux-ede1327ea4ca8019ec6df24b3e837def091c26b8.tar.xz
kernel-qcow2-linux-ede1327ea4ca8019ec6df24b3e837def091c26b8.zip
[PATCH] cifs: Add support for suspend
cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French <sfrench@us.ibm.com> lightly modified Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 2335f14a1583..47360156cc54 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -344,6 +344,8 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
}
while (server->tcpStatus != CifsExiting) {
+ if (try_to_freeze())
+ continue;
if (bigbuf == NULL) {
bigbuf = cifs_buf_get();
if(bigbuf == NULL) {