diff --git a/fs/ext4/super.c b/fs/ext4/super.c index bf91679..9692bbf 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2871,6 +2871,9 @@ cont_thread: next_wakeup)) next_wakeup = elr->lr_next_sched; } + + if (time_before(elr->lr_next_sched, next_wakeup)) + next_wakeup = elr->lr_next_sched; } mutex_unlock(&eli->li_list_mtx);