Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3431
b: refs/heads/master
c: c33ed27
h: refs/heads/master
i:
  3429: afa8cd7
  3427: 2da7f96
  3423: 76e9576
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed Jun 25, 2005
1 parent 76cabfe commit ff4812f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 97998d8fdb5530edd466b006423a422ea790cf23
refs/heads/master: c33ed271263f5fb6ca5ab888b98a55ae5d138c0b
7 changes: 2 additions & 5 deletions trunk/fs/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,10 @@ int dquot_release(struct dquot *dquot)
* for this sb+type at all. */
static void invalidate_dquots(struct super_block *sb, int type)
{
struct dquot *dquot;
struct list_head *head;
struct dquot *dquot, *tmp;

spin_lock(&dq_list_lock);
for (head = inuse_list.next; head != &inuse_list;) {
dquot = list_entry(head, struct dquot, dq_inuse);
head = head->next;
list_for_each_entry_safe(dquot, tmp, &inuse_list, dq_inuse) {
if (dquot->dq_sb != sb)
continue;
if (dquot->dq_type != type)
Expand Down

0 comments on commit ff4812f

Please sign in to comment.