Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25215
b: refs/heads/master
c: 8abf6a4
h: refs/heads/master
i:
  25213: eefa4bd
  25211: 1f7aa0c
  25207: 8ecfce7
  25199: d8c9908
  25183: 34121af
  25151: 4c9cdc8
  25087: 51d08bd
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Apr 2, 2006
1 parent cb4b0e3 commit 00b7f90
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b6385483840e903d99cb753593faea215ae8d324
refs/heads/master: 8abf6a4707cfb95ca552b882959c6f8ff9924270
6 changes: 2 additions & 4 deletions trunk/fs/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,7 @@ static void dqput(struct dquot *dquot)
atomic_dec(&dquot->dq_count);
#ifdef __DQUOT_PARANOIA
/* sanity check */
if (!list_empty(&dquot->dq_free))
BUG();
BUG_ON(!list_empty(&dquot->dq_free));
#endif
put_dquot_last(dquot);
spin_unlock(&dq_list_lock);
Expand Down Expand Up @@ -666,8 +665,7 @@ static struct dquot *dqget(struct super_block *sb, unsigned int id, int type)
return NODQUOT;
}
#ifdef __DQUOT_PARANOIA
if (!dquot->dq_sb) /* Has somebody invalidated entry under us? */
BUG();
BUG_ON(!dquot->dq_sb); /* Has somebody invalidated entry under us? */
#endif

return dquot;
Expand Down

0 comments on commit 00b7f90

Please sign in to comment.