From: dingdinghua Subject: [PATCH 1/2] Jbd: fix an assertion, jh->b_transaction should be Date: Mon, 25 Jan 2010 11:45:03 +0800 Message-ID: <1264391104-10950-2-git-send-email-dingdinghua@nrchpc.ac.cn> References: <1264391104-10950-1-git-send-email-dingdinghua@nrchpc.ac.cn> Cc: dingdinghua To: linux-ext4@vger.kernel.org Return-path: Received: from [159.226.39.252] ([159.226.39.252]:34356 "EHLO bwstor.com.cn" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751398Ab0AYEMk (ORCPT ); Sun, 24 Jan 2010 23:12:40 -0500 In-Reply-To: <1264391104-10950-1-git-send-email-dingdinghua@nrchpc.ac.cn> Sender: linux-ext4-owner@vger.kernel.org List-ID: --- 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