diff options
-rw-r--r-- | fs/jbd2/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index dd422e680418..383b0fbc6e19 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
@@ -652,10 +652,10 @@ int jbd2__journal_restart(handle_t *handle, int nblocks, gfp_t gfp_mask) | |||
652 | } | 652 | } |
653 | if (atomic_dec_and_test(&transaction->t_updates)) | 653 | if (atomic_dec_and_test(&transaction->t_updates)) |
654 | wake_up(&journal->j_wait_updates); | 654 | wake_up(&journal->j_wait_updates); |
655 | tid = transaction->t_tid; | ||
655 | spin_unlock(&transaction->t_handle_lock); | 656 | spin_unlock(&transaction->t_handle_lock); |
656 | 657 | ||
657 | jbd_debug(2, "restarting handle %p\n", handle); | 658 | jbd_debug(2, "restarting handle %p\n", handle); |
658 | tid = transaction->t_tid; | ||
659 | need_to_start = !tid_geq(journal->j_commit_request, tid); | 659 | need_to_start = !tid_geq(journal->j_commit_request, tid); |
660 | read_unlock(&journal->j_state_lock); | 660 | read_unlock(&journal->j_state_lock); |
661 | if (need_to_start) | 661 | if (need_to_start) |