diff options
author | Pavel Machek <pavel@suse.de> | 2006-06-13 17:31:39 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-06-13 17:31:39 -0400 |
commit | 0fd1ffe0633b4b039b343b753598e6df435e034d (patch) | |
tree | 2b7aca82f26ed911dd86f47af80456b35ea776b8 /fs/cifs/cifsfs.c | |
parent | 6344a423e5806d138923caa1d7699f3b7809fe43 (diff) |
[CIFS] Fix suspend/resume problem which causes EIO on subsequent access to
the mount.
Signed-off-by: Pavel Machek <pavel@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 700570522b23..fb7c11c2c913 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -905,7 +905,7 @@ static int cifs_dnotify_thread(void * dummyarg) | |||
905 | struct cifsSesInfo *ses; | 905 | struct cifsSesInfo *ses; |
906 | 906 | ||
907 | do { | 907 | do { |
908 | if(try_to_freeze()) | 908 | if (try_to_freeze()) |
909 | continue; | 909 | continue; |
910 | set_current_state(TASK_INTERRUPTIBLE); | 910 | set_current_state(TASK_INTERRUPTIBLE); |
911 | schedule_timeout(15*HZ); | 911 | schedule_timeout(15*HZ); |