Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118226
b: refs/heads/master
c: 6c20ec8
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed Oct 29, 2008
1 parent 0b1edf6 commit 12920dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ef2cabf7c6d838eb0ee2b4fb8ef84f7c06ce16d9
refs/heads/master: 6c20ec850360bc6e5c66a787f0523a80450d65ab
8 changes: 4 additions & 4 deletions trunk/fs/jbd2/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,9 @@ void jbd2_journal_commit_transaction(journal_t *journal)
journal->j_committing_transaction = NULL;
spin_unlock(&journal->j_state_lock);

if (journal->j_commit_callback)
journal->j_commit_callback(journal, commit_transaction);

if (commit_transaction->t_checkpoint_list == NULL &&
commit_transaction->t_checkpoint_io_list == NULL) {
__jbd2_journal_drop_transaction(journal, commit_transaction);
Expand All @@ -995,11 +998,8 @@ void jbd2_journal_commit_transaction(journal_t *journal)
}
spin_unlock(&journal->j_list_lock);

if (journal->j_commit_callback)
journal->j_commit_callback(journal, commit_transaction);

trace_mark(jbd2_end_commit, "dev %s transaction %d head %d",
journal->j_devname, commit_transaction->t_tid,
journal->j_devname, journal->j_commit_sequence,
journal->j_tail_sequence);
jbd_debug(1, "JBD: commit %d complete, head %d\n",
journal->j_commit_sequence, journal->j_tail_sequence);
Expand Down

0 comments on commit 12920dd

Please sign in to comment.