[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070807090718.31D8814458DB@imap.suse.de>
Date: Tue, 07 Aug 2007 02:02:18 -0700
From: <gregkh@...e.de>
To: jack@...e.cz, akpm@...ux-foundation.org, cebbert@...hat.com,
dev@...nvz.org, gregkh@...e.de, linux-ext4@...r.kernel.org
Cc: <stable-commits@...r.kernel.org>
Subject: patch jbd2-commit-fix-transaction-dropping.patch queued to -stable tree
This is a note to let you know that we have just queued up the patch titled
Subject: jbd2 commit: fix transaction dropping
to the 2.6.22-stable tree. Its filename is
jbd2-commit-fix-transaction-dropping.patch
A git repo of this tree can be found at
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>From stable-bounces@...ux.kernel.org Sun Jul 15 23:37:38 2007
From: Jan Kara <jack@...e.cz>
Date: Sun, 15 Jul 2007 23:37:20 -0700
Subject: jbd2 commit: fix transaction dropping
To: torvalds@...ux-foundation.org
Cc: dev@...nvz.org, jack@...e.cz, cebbert@...hat.com, akpm@...ux-foundation.org, linux-ext4@...r.kernel.org, stable@...nel.org
Message-ID: <200707160637.l6G6bKPk013984@...p1.linux-foundation.org>
From: Jan Kara <jack@...e.cz>
We have to check that also the second checkpoint list is non-empty before
dropping the transaction.
Signed-off-by: Jan Kara <jack@...e.cz>
Cc: Chuck Ebbert <cebbert@...hat.com>
Cc: Kirill Korotaev <dev@...nvz.org>
Cc: <linux-ext4@...r.kernel.org>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
diff -puN fs/jbd2/commit.c~jbd2-commit-fix-transaction-dropping fs/jbd2/commit.c
--- a/fs/jbd2/commit.c~jbd2-commit-fix-transaction-dropping
+++ a/fs/jbd2/commit.c
@@ -896,7 +896,8 @@ restart_loop:
journal->j_committing_transaction = NULL;
spin_unlock(&journal->j_state_lock);
- if (commit_transaction->t_checkpoint_list == NULL) {
+ if (commit_transaction->t_checkpoint_list == NULL &&
+ commit_transaction->t_checkpoint_io_list == NULL) {
__jbd2_journal_drop_transaction(journal, commit_transaction);
} else {
if (journal->j_checkpoint_transactions == NULL) {
_
_______________________________________________
stable mailing list
stable@...ux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable
Patches currently in stable-queue which might be from jack@...e.cz are
queue-2.6.22/jbd-commit-fix-transaction-dropping.patch
queue-2.6.22/jbd2-commit-fix-transaction-dropping.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists