Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42908
b: refs/heads/master
c: 1260392
h: refs/heads/master
v: v3
  • Loading branch information
Hisashi Hifumi authored and Linus Torvalds committed Dec 7, 2006
1 parent e9da93e commit 0905c65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 702a28b1e64be3dc313f5f0ceb6dc95edfbc5e18
refs/heads/master: 126039256cf164f69d8cfa20f1952d00fa61f52f
8 changes: 6 additions & 2 deletions trunk/fs/jbd2/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,12 @@ static void journal_submit_data_buffers(journal_t *journal,
bufs = 0;
goto write_out_data;
}
}
else {
} else if (!locked && buffer_locked(bh)) {
__jbd2_journal_file_buffer(jh, commit_transaction,
BJ_Locked);
jbd_unlock_bh_state(bh);
put_bh(bh);
} else {
BUFFER_TRACE(bh, "writeout complete: unfile");
__jbd2_journal_unfile_buffer(jh);
jbd_unlock_bh_state(bh);
Expand Down

0 comments on commit 0905c65

Please sign in to comment.