Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274894
b: refs/heads/master
c: 51b11e3
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Khoroshilov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 5c8a81e commit 8e49719
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 9786f6e68af00d0988ad7f51fe3fd118be1c30ad
refs/heads/master: 51b11e3630672b7ce8793ecf13e5759656edf38a
3 changes: 1 addition & 2 deletions trunk/fs/jffs2/wbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,7 @@ static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad)
if (!jffs2_is_writebuffered(c))
return 0;

if (mutex_trylock(&c->alloc_sem)) {
mutex_unlock(&c->alloc_sem);
if (!mutex_is_locked(&c->alloc_sem)) {
printk(KERN_CRIT "jffs2_flush_wbuf() called with alloc_sem not locked!\n");
BUG();
}
Expand Down

0 comments on commit 8e49719

Please sign in to comment.