summaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-07-23 23:34:06 +0100
committerMark Brown <broonie@kernel.org>2023-07-23 23:34:06 +0100
commit9c214af0bd0f43df214470a35bc38dd5602b666f (patch)
treee95ac46b8fdca90a122b73eac96158985d85ef70 /fs/jbd2/commit.c
parente02a4ccbeced64aa10f4e99683c721ec43e993c1 (diff)
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlwn-9c214af0bd0f43df214470a35bc38dd5602b666f.tar.gz
lwn-9c214af0bd0f43df214470a35bc38dd5602b666f.zip
regmap: 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);
}