diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-13 08:46:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-13 08:46:26 +0300 |
commit | 568bfce07873fb07086ca239c0e321ef5d8088f1 (patch) | |
tree | bf41ec01d950558ba0931be12668712de084c6cb /fs/jbd2/commit.c | |
parent | 422c9727b07f9f86e2ec11c56622e566221591cc (diff) | |
parent | 5bc55a333a2f7316b58edc7573e8e893f7acb532 (diff) | |
download | linux-568bfce07873fb07086ca239c0e321ef5d8088f1.tar.xz |
Merge 6.13-rc7 into tty-next
We need the serial driver fixes in here 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); |