VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Theodore Ts'o <tytso@mit.edu> 2008-10-16 20:00:24 -0400 committer: Theodore Ts'o <tytso@mit.edu> 2008-10-16 20:00:24 -0400 commit: 3e624fc72fba09b6f999a9fbb87b64efccd38036 parent: 22359f5745eb26bd3205a1ede7968c8944398220
Commit Summary:
ext4: Replace hackish ext4_mb_poll_new_transaction with commit callback
Diffstat:
1 file changed, 3 insertions, 0 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 0abe02c4242a..8b119e16aa36 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -995,6 +995,9 @@ restart_loop:
 	}
 	spin_unlock(&journal->j_list_lock);
 
+	if (journal->j_commit_callback)
+		journal->j_commit_callback(journal, commit_transaction);
+
 	trace_mark(jbd2_end_commit, "dev %s transaction %d head %d",
 		   journal->j_devname, commit_transaction->t_tid,
 		   journal->j_tail_sequence);