Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112963
b: refs/heads/master
c: 45a90bf
h: refs/heads/master
i:
  112961: c805566
  112959: 77f0a3c
v: v3
  • Loading branch information
Theodore Ts'o committed Oct 6, 2008
1 parent d765902 commit 8fe3ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: ede86cc473defab74d778aeac14b19f43129d4d1
refs/heads/master: 45a90bfd90c1215bf824c0f705b409723f52361b
5 changes: 2 additions & 3 deletions trunk/fs/jbd2/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ static int journal_submit_commit_record(journal_t *journal,

JBUFFER_TRACE(descriptor, "submit commit block");
lock_buffer(bh);
get_bh(bh);
set_buffer_dirty(bh);
clear_buffer_dirty(bh);
set_buffer_uptodate(bh);
bh->b_end_io = journal_end_buffer_io_sync;

Expand Down Expand Up @@ -158,7 +157,7 @@ static int journal_submit_commit_record(journal_t *journal,
/* And try again, without the barrier */
lock_buffer(bh);
set_buffer_uptodate(bh);
set_buffer_dirty(bh);
clear_buffer_dirty(bh);
ret = submit_bh(WRITE, bh);
}
*cbh = bh;
Expand Down

0 comments on commit 8fe3ac7

Please sign in to comment.