Skip to contentSkip to conversation

jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-commit-transaction-cleanup

PATCH Applied [email protected] 2 participants 2 messages Jul 13, 2008 – Jul 14, 2008 Journalling layer for block devices (JBD2)

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-commit-transaction-cleanup

From: Andrew Morton <[email protected]>

unneeded initialisation.

Cc Badari Pulavarty <[email protected]>
Cc Mingming Cao <[email protected]>

---

 fs/jbd2/transaction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/jbd2/transaction.c renamed from fs/jbd2/transaction.c~jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-commit-transaction-cleanup +1 -1
diff -puN fs/jbd2/transaction.c~jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-commit-transaction-cleanup fs/jbd2/transaction.c
@@ -1479,7 +1479,7 @@ out:
  */
 static void jbd2_journal_wait_for_transaction_sync_data(journal_t *journal)
 {
-	transaction_t *transaction = NULL;
+	transaction_t *transaction;
 	tid_t tid;
 
 	spin_lock(&journal->j_state_lock);

_

maintainer
#1 lore raw

Re: [patch 3/4] jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-comm it-transaction-cleanup

Quoted 4 lines · On Sat, Jul 12, 2008 at 11:26:21PM -0700, [email protected] wrote:

From: Andrew Morton <[email protected]>

unneeded initialisation.

Thanks, I've folded this into the existing patch.

- Ted