Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221699
b: refs/heads/master
c: 87009d8
h: refs/heads/master
i:
  221697: c87216b
  221695: b5656fa
v: v3
  • Loading branch information
Dmitry Monakhov authored and Theodore Ts'o committed Nov 8, 2010
1 parent 222cc84 commit 9765ad4
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: 83668e7141c7a0aa4035bde94344b81f9cf966ab
refs/heads/master: 87009d86dc045d228e21242467a67a5f99347553
8 changes: 3 additions & 5 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -4570,12 +4570,10 @@ static int ext4_quota_on(struct super_block *sb, int type, int format_id,

static int ext4_quota_off(struct super_block *sb, int type)
{
/* Force all delayed allocation blocks to be allocated */
if (test_opt(sb, DELALLOC)) {
down_read(&sb->s_umount);
/* Force all delayed allocation blocks to be allocated.
* Caller already holds s_umount sem */
if (test_opt(sb, DELALLOC))
sync_filesystem(sb);
up_read(&sb->s_umount);
}

return dquot_quota_off(sb, type);
}
Expand Down

0 comments on commit 9765ad4

Please sign in to comment.