VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Yongqiang Yang <xiaoqiangnk@gmail.com> 2012-02-20 17:53:02 -0500 committer: Theodore Ts'o <tytso@mit.edu> 2012-02-20 17:53:02 -0500 commit: 0c2022eccb01630c037f2024531e9ff1afbe1564 parent: 18aadd47f88464928b5ce57791c2e8f9f2aaece0
Commit Summary:
jbd2: allocate transaction from separate slab cache
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 5069b8475150..8adc5d460f56 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -1048,7 +1048,7 @@ restart_loop:
 	jbd_debug(1, "JBD2: commit %d complete, head %d\n",
 		  journal->j_commit_sequence, journal->j_tail_sequence);
 	if (to_free)
-		kfree(commit_transaction);
+		jbd2_journal_free_transaction(commit_transaction);
 
 	wake_up(&journal->j_wait_done_commit);
 }