Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115918
b: refs/heads/master
c: 885e353
h: refs/heads/master
v: v3
  • Loading branch information
Hidehiro Kawai authored and Linus Torvalds committed Oct 20, 2008
1 parent 4a6837e commit 06ec8d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: d1645e526a1e5842c9ac433d73419ba886676cf3
refs/heads/master: 885e353c7427db7b60692789741b34e605b0b69b
5 changes: 4 additions & 1 deletion trunk/fs/jbd/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,10 @@ void journal_commit_transaction(journal_t *journal)
jh = commit_transaction->t_buffers;

/* If we're in abort mode, we just un-journal the buffer and
release it for background writing. */
release it. */

if (is_journal_aborted(journal)) {
clear_buffer_jbddirty(jh2bh(jh));
JBUFFER_TRACE(jh, "journal is aborting: refile");
journal_refile_buffer(journal, jh);
/* If that was the last one, we need to clean up
Expand Down Expand Up @@ -855,6 +856,8 @@ void journal_commit_transaction(journal_t *journal)
if (buffer_jbddirty(bh)) {
JBUFFER_TRACE(jh, "add to new checkpointing trans");
__journal_insert_checkpoint(jh, commit_transaction);
if (is_journal_aborted(journal))
clear_buffer_jbddirty(bh);
JBUFFER_TRACE(jh, "refile for checkpoint writeback");
__journal_refile_buffer(jh);
jbd_unlock_bh_state(bh);
Expand Down

0 comments on commit 06ec8d3

Please sign in to comment.