Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218831
b: refs/heads/master
c: a910eef
h: refs/heads/master
i:
  218829: 5dbd024
  218827: 600ed71
  218823: 0e17fa7
  218815: 4798c3d
v: v3
  • Loading branch information
Namhyung Kim authored and Jan Kara committed Oct 27, 2010
1 parent 147eb0d commit 59ae3c3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: dff6825e9fde93891e60751e01480337a991235e
refs/heads/master: a910eefa511f9d1118effc13fba6773163502c4f
6 changes: 3 additions & 3 deletions trunk/fs/jbd/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ void journal_commit_transaction(journal_t *journal)
(this will requeue both the metadata buffer and the
temporary IO buffer). new_bh goes on BJ_IO*/

set_bit(BH_JWrite, &jh2bh(jh)->b_state);
set_buffer_jwrite(jh2bh(jh));
/*
* akpm: journal_write_metadata_buffer() sets
* new_bh->b_transaction to commit_transaction.
Expand All @@ -627,7 +627,7 @@ void journal_commit_transaction(journal_t *journal)
JBUFFER_TRACE(jh, "ph3: write metadata");
flags = journal_write_metadata_buffer(commit_transaction,
jh, &new_jh, blocknr);
set_bit(BH_JWrite, &jh2bh(new_jh)->b_state);
set_buffer_jwrite(jh2bh(new_jh));
wbuf[bufs++] = jh2bh(new_jh);

/* Record the new block's tag in the current descriptor
Expand Down Expand Up @@ -737,7 +737,7 @@ void journal_commit_transaction(journal_t *journal)
shadowed buffer */
jh = commit_transaction->t_shadow_list->b_tprev;
bh = jh2bh(jh);
clear_bit(BH_JWrite, &bh->b_state);
clear_buffer_jwrite(bh);
J_ASSERT_BH(bh, buffer_jbddirty(bh));

/* The metadata is now released for reuse, but we need
Expand Down

0 comments on commit 59ae3c3

Please sign in to comment.