Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173165
b: refs/heads/master
c: 6e3647a
h: refs/heads/master
i:
  173163: 2d2cb28
v: v3
  • Loading branch information
Frederic Weisbecker committed Sep 14, 2009
1 parent 875c71e commit 59aaa0b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 4c5eface5d0e4eb7f77be346193c2850e7e3b983
refs/heads/master: 6e3647acb4f200add1d8e0203514f7ac925ae463
7 changes: 5 additions & 2 deletions trunk/fs/reiserfs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,11 @@ static int flush_commit_list(struct super_block *s,
SB_ONDISK_JOURNAL_SIZE(s);
tbh = journal_find_get_block(s, bn);
if (tbh) {
if (buffer_dirty(tbh))
ll_rw_block(WRITE, 1, &tbh) ;
if (buffer_dirty(tbh)) {
reiserfs_write_unlock(s);
ll_rw_block(WRITE, 1, &tbh);
reiserfs_write_lock(s);
}
put_bh(tbh) ;
}
}
Expand Down

0 comments on commit 59aaa0b

Please sign in to comment.