Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44913
b: refs/heads/master
c: 6f5a9da
h: refs/heads/master
i:
  44911: 7331ecc
v: v3
  • Loading branch information
Hisashi Hifumi authored and Linus Torvalds committed Dec 22, 2006
1 parent 6426244 commit 600c94e
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: 6d3a25f1fb75206ae8b2b1cdd1431b3852e1a45a
refs/heads/master: 6f5a9da1af5a8c286575c30c2706dc1fbef9164b
8 changes: 6 additions & 2 deletions trunk/fs/jbd/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)) {
__journal_file_buffer(jh, commit_transaction,
BJ_Locked);
jbd_unlock_bh_state(bh);
put_bh(bh);
} else {
BUFFER_TRACE(bh, "writeout complete: unfile");
__journal_unfile_buffer(jh);
jbd_unlock_bh_state(bh);
Expand Down

0 comments on commit 600c94e

Please sign in to comment.