summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French2005-08-30 22:10:14 +0200
committerSteve French2005-08-30 22:10:14 +0200
commit16abbecdad3367c76c12537450eba0d86943fe2c (patch)
tree4e15d2ce6e7ab84587e29c3cdbfed94d25ae5d9f /fs/cifs/connect.c
parentMerge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git (diff)
downloadkernel-qcow2-linux-16abbecdad3367c76c12537450eba0d86943fe2c.tar.gz
kernel-qcow2-linux-16abbecdad3367c76c12537450eba0d86943fe2c.tar.xz
kernel-qcow2-linux-16abbecdad3367c76c12537450eba0d86943fe2c.zip
[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 --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-)
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 c75bae1242dc..134195cc4073 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -355,6 +355,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) {