diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 1 | ||||
-rw-r--r-- | fs/cifs/connect.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 8b0cbf4a4ad0..bd0f2f2353ce 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -849,6 +849,7 @@ static int cifs_oplock_thread(void * dummyarg) | |||
849 | __u16 netfid; | 849 | __u16 netfid; |
850 | int rc; | 850 | int rc; |
851 | 851 | ||
852 | set_freezable(); | ||
852 | do { | 853 | do { |
853 | if (try_to_freeze()) | 854 | if (try_to_freeze()) |
854 | continue; | 855 | continue; |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index f4e92661b223..0a1b8bd1dfcb 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -363,6 +363,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server) | |||
363 | GFP_KERNEL); | 363 | GFP_KERNEL); |
364 | } | 364 | } |
365 | 365 | ||
366 | set_freezable(); | ||
366 | while (!kthread_should_stop()) { | 367 | while (!kthread_should_stop()) { |
367 | if (try_to_freeze()) | 368 | if (try_to_freeze()) |
368 | continue; | 369 | continue; |