aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 40131b777af6..8d1d9423ce9a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2740,7 +2740,8 @@ cont_thread:
2740 if (freezing(current)) 2740 if (freezing(current))
2741 refrigerator(); 2741 refrigerator();
2742 2742
2743 if (time_after_eq(jiffies, next_wakeup)) { 2743 if ((time_after_eq(jiffies, next_wakeup)) ||
2744 (MAX_JIFFY_OFFSET == next_wakeup)) {
2744 cond_resched(); 2745 cond_resched();
2745 continue; 2746 continue;
2746 } 2747 }