diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-30 16:10:14 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-30 16:10:14 -0400 |
commit | 16abbecdad3367c76c12537450eba0d86943fe2c (patch) | |
tree | 4e15d2ce6e7ab84587e29c3cdbfed94d25ae5d9f /fs/cifs/connect.c | |
parent | 2016ef789a9ded2e169ad1c028ae3deb5302571f (diff) |
[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.c | 2 |
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) | |||
355 | } | 355 | } |
356 | 356 | ||
357 | while (server->tcpStatus != CifsExiting) { | 357 | while (server->tcpStatus != CifsExiting) { |
358 | if(try_to_freeze()) | ||
359 | continue; | ||
358 | if (bigbuf == NULL) { | 360 | if (bigbuf == NULL) { |
359 | bigbuf = cifs_buf_get(); | 361 | bigbuf = cifs_buf_get(); |
360 | if(bigbuf == NULL) { | 362 | if(bigbuf == NULL) { |