diff options
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 55f0d4e51b59..34757758511a 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -884,8 +884,7 @@ int bdi_writeback_task(struct bdi_writeback *wb) | |||
884 | } | 884 | } |
885 | 885 | ||
886 | wait_jiffies = msecs_to_jiffies(dirty_writeback_interval * 10); | 886 | wait_jiffies = msecs_to_jiffies(dirty_writeback_interval * 10); |
887 | set_current_state(TASK_INTERRUPTIBLE); | 887 | schedule_timeout_interruptible(wait_jiffies); |
888 | schedule_timeout(wait_jiffies); | ||
889 | try_to_freeze(); | 888 | try_to_freeze(); |
890 | } | 889 | } |
891 | 890 | ||