Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218846
b: refs/heads/master
c: 4408ea4
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kara committed Oct 27, 2010
1 parent fde0be1 commit 0101f36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4c18ad2eed93194a667cb9f6662c3b3e8f0bba9
refs/heads/master: 4408ea41c0ab4b711d4da44dd954fb06dce6c3f8
3 changes: 3 additions & 0 deletions trunk/fs/quota/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,9 @@ static void __dquot_initialize(struct inode *inode, int type)
/* Avoid races with quotaoff() */
if (!sb_has_quota_active(sb, cnt))
continue;
/* We could race with quotaon or dqget() could have failed */
if (!got[cnt])
continue;
if (!inode->i_dquot[cnt]) {
inode->i_dquot[cnt] = got[cnt];
got[cnt] = NULL;
Expand Down

0 comments on commit 0101f36

Please sign in to comment.