summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-07-24 01:34:35 +0300
committerMark Brown <broonie@kernel.org>2023-07-24 01:34:35 +0300
commit447281e71527080244ed1fa07e84a9d4e0654616 (patch)
tree58f57b177501db3a12da06cbe34a3a3ee412e97e /fs/jbd2/commit.c
parent79232ec0ee0dfd11f0070a63d9307480ac39f87d (diff)
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlinux-447281e71527080244ed1fa07e84a9d4e0654616.tar.xz
regulator: Merge up fixes from mainline
There's several things here that will really help my CI.
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index b33155dd7001..1073259902a6 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -1141,8 +1141,7 @@ restart_loop:
spin_lock(&journal->j_list_lock);
commit_transaction->t_state = T_FINISHED;
/* Check if the transaction can be dropped now that we are finished */
- if (commit_transaction->t_checkpoint_list == NULL &&
- commit_transaction->t_checkpoint_io_list == NULL) {
+ if (commit_transaction->t_checkpoint_list == NULL) {
__jbd2_journal_drop_transaction(journal, commit_transaction);
jbd2_journal_free_transaction(commit_transaction);
}