diff options
Diffstat (limited to 'fs')
-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 10f524c59ea8..e0c0bc275924 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
@@ -517,10 +517,10 @@ int jbd2__journal_restart(handle_t *handle, int nblocks, gfp_t gfp_mask) | |||
517 | &transaction->t_outstanding_credits); | 517 | &transaction->t_outstanding_credits); |
518 | if (atomic_dec_and_test(&transaction->t_updates)) | 518 | if (atomic_dec_and_test(&transaction->t_updates)) |
519 | wake_up(&journal->j_wait_updates); | 519 | wake_up(&journal->j_wait_updates); |
520 | tid = transaction->t_tid; | ||
520 | spin_unlock(&transaction->t_handle_lock); | 521 | spin_unlock(&transaction->t_handle_lock); |
521 | 522 | ||
522 | jbd_debug(2, "restarting handle %p\n", handle); | 523 | jbd_debug(2, "restarting handle %p\n", handle); |
523 | tid = transaction->t_tid; | ||
524 | need_to_start = !tid_geq(journal->j_commit_request, tid); | 524 | need_to_start = !tid_geq(journal->j_commit_request, tid); |
525 | read_unlock(&journal->j_state_lock); | 525 | read_unlock(&journal->j_state_lock); |
526 | if (need_to_start) | 526 | if (need_to_start) |