VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Shijie Luo <luoshijie1@huawei.com> 2020-01-23 02:00:54 -0500 committer: Theodore Ts'o <tytso@mit.edu> 2020-01-25 02:25:56 -0500 commit: 17c51d836c19ecc58714fc671a914a47b6ae4db7 parent: 8d6ce136790268fba2fc66cb8d6fa2161d4b2385
Commit Summary:
jbd2: remove pointless assertion in __journal_remove_journal_head
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 069b22eba795..1c61491fd86f 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -2560,7 +2560,6 @@ static void __journal_remove_journal_head(struct buffer_head *bh)
 {
 	struct journal_head *jh = bh2jh(bh);
 
-	J_ASSERT_JH(jh, jh->b_jcount >= 0);
 	J_ASSERT_JH(jh, jh->b_transaction == NULL);
 	J_ASSERT_JH(jh, jh->b_next_transaction == NULL);
 	J_ASSERT_JH(jh, jh->b_cp_transaction == NULL);