Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218841
b: refs/heads/master
c: e4d5e3a
h: refs/heads/master
i:
  218839: 261ee52
v: v3
  • Loading branch information
Namhyung Kim authored and Jan Kara committed Oct 27, 2010
1 parent 9016cab commit 570270d
Show file tree
Hide file tree
Showing 3 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: bfa01dfbe0a02f5ba434221c351f0510c06af392
refs/heads/master: e4d5e3a497e159be7c2dbe4c61cfb185d60cfde2
4 changes: 2 additions & 2 deletions trunk/fs/jbd/checkpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ static int __wait_cp_io(journal_t *journal, transaction_t *transaction)
goto restart;
}
if (buffer_locked(bh)) {
atomic_inc(&bh->b_count);
get_bh(bh);
spin_unlock(&journal->j_list_lock);
jbd_unlock_bh_state(bh);
wait_on_buffer(bh);
Expand Down Expand Up @@ -283,7 +283,7 @@ static int __process_buffer(journal_t *journal, struct journal_head *jh,
int ret = 0;

if (buffer_locked(bh)) {
atomic_inc(&bh->b_count);
get_bh(bh);
spin_unlock(&journal->j_list_lock);
jbd_unlock_bh_state(bh);
wait_on_buffer(bh);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/jbd/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ void journal_commit_transaction(journal_t *journal)
/* Bump b_count to prevent truncate from stumbling over
the shadowed buffer! @@@ This can go if we ever get
rid of the BJ_IO/BJ_Shadow pairing of buffers. */
atomic_inc(&jh2bh(jh)->b_count);
get_bh(jh2bh(jh));

/* Make a temporary IO buffer with which to write it out
(this will requeue both the metadata buffer and the
Expand Down

0 comments on commit 570270d

Please sign in to comment.