Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173172
b: refs/heads/master
c: c63e3c0
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed Sep 14, 2009
1 parent 45c4da2 commit 90a1344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: d6f5b0aa08078c3dabe377d5b1a6077e9c9352d3
refs/heads/master: c63e3c0b2498adec921b06c670d12c8c74b85538
8 changes: 3 additions & 5 deletions trunk/fs/reiserfs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,11 +566,9 @@ static inline void insert_journal_hash(struct reiserfs_journal_cnode **table,
static inline void reiserfs_mutex_lock_safe(struct mutex *m,
struct super_block *s)
{
while (!mutex_trylock(m)) {
reiserfs_write_unlock(s);
schedule();
reiserfs_write_lock(s);
}
reiserfs_write_unlock(s);
mutex_lock(m);
reiserfs_write_lock(s);
}

/* lock the current transaction */
Expand Down

0 comments on commit 90a1344

Please sign in to comment.