2008-07-13 06:26:47

by Andrew Morton

[permalink] [raw]
Subject: [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]>
Signed-off-by: Andrew Morton <[email protected]>
---

fs/jbd2/transaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--- a/fs/jbd2/transaction.c~jbd2-fix-race-between-jbd2_journal_try_to_free_buffers-and-jbd2-commit-transaction-cleanup
+++ a/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);
_


2008-07-14 01:08:20

by Theodore Ts'o

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

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