diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-13 08:40:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-13 08:40:34 +0300 |
commit | dd19f4116ec330bc985e1a85a66b8dd0f2dca20d (patch) | |
tree | aaa5b5c3b7105ab2ed22b1c5107ba9127fbeafa9 /fs/jbd2/commit.c | |
parent | 8ff656643d3075154419680470dbfdbd6092e31f (diff) | |
parent | 5bc55a333a2f7316b58edc7573e8e893f7acb532 (diff) | |
download | linux-dd19f4116ec330bc985e1a85a66b8dd0f2dca20d.tar.xz |
Merge 6.13-rc7 into driver-core-next
We need the debugfs / driver-core fixes in here as well for testing and
to build on top of.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 9153ff3a08e7..e8e80761ac73 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -772,9 +772,9 @@ start_journal_io: /* * If the journal is not located on the file system device, * then we must flush the file system device before we issue - * the commit record + * the commit record and update the journal tail sequence. */ - if (commit_transaction->t_need_data_flush && + if ((commit_transaction->t_need_data_flush || update_tail) && (journal->j_fs_dev != journal->j_dev) && (journal->j_flags & JBD2_BARRIER)) blkdev_issue_flush(journal->j_fs_dev); |