linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: dingdinghua <dingdinghua@nrchpc.ac.cn>
To: linux-ext4@vger.kernel.org
Cc: dingdinghua <dingdinghua@nrchpc.ac.cn>
Subject: [PATCH 1/2] Jbd: fix an assertion, jh->b_transaction should be
Date: Mon, 25 Jan 2010 11:45:03 +0800	[thread overview]
Message-ID: <1264391104-10950-2-git-send-email-dingdinghua@nrchpc.ac.cn> (raw)
In-Reply-To: <1264391104-10950-1-git-send-email-dingdinghua@nrchpc.ac.cn>

---
 fs/jbd/commit.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c
index 4bd8825..ddd9efa 100644
--- a/fs/jbd/commit.c
+++ b/fs/jbd/commit.c
@@ -821,8 +821,7 @@ restart_loop:
 		spin_unlock(&journal->j_list_lock);
 		bh = jh2bh(jh);
 		jbd_lock_bh_state(bh);
-		J_ASSERT_JH(jh,	jh->b_transaction == commit_transaction ||
-			jh->b_transaction == journal->j_running_transaction);
+		J_ASSERT_JH(jh,	jh->b_transaction == commit_transaction);
 
 		/*
 		 * If there is undo-protected committed data against
-- 
1.5.5.6


  reply	other threads:[~2010-01-25  4:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-25  3:45 [PATCH 0/2]fix an assertion in jbd/jbd2 dingdinghua
2010-01-25  3:45 ` dingdinghua [this message]
2010-01-25  3:45   ` [PATCH 2/2] Jbd2: fix an assertion, jh->b_transaction should be dingdinghua
2010-02-24 17:12   ` [PATCH 1/2] Jbd: " tytso
2010-02-25  1:11     ` 丁定华
2010-02-24 17:13   ` tytso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1264391104-10950-2-git-send-email-dingdinghua@nrchpc.ac.cn \
    --to=dingdinghua@nrchpc.ac.cn \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).