Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173179
b: refs/heads/master
c: 8050318
h: refs/heads/master
i:
  173177: 01039ac
  173175: 9bafd82
v: v3
  • Loading branch information
Frederic Weisbecker committed Sep 14, 2009
1 parent 7cb23ff commit 0b788f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 7e94277050e31aa4204060f03953bba72598cf7d
refs/heads/master: 80503185989b2dd84170bb842e23d3fd45ebdf40
7 changes: 3 additions & 4 deletions trunk/fs/reiserfs/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ void reiserfs_write_unlock(struct super_block *s)

/*
* Are we unlocking without even holding the lock?
* Such a situation could even raise a BUG() if we don't
* want the data become corrupted
* Such a situation must raise a BUG() if we don't want
* to corrupt the data.
*/
WARN_ONCE(sb_i->lock_owner != current,
"Superblock write lock imbalance");
BUG_ON(sb_i->lock_owner != current);

if (--sb_i->lock_depth == -1) {
sb_i->lock_owner = NULL;
Expand Down

0 comments on commit 0b788f4

Please sign in to comment.