diff options
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index d34afad3e137..0b905781e8e6 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -4254,7 +4254,7 @@ ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle, | |||
4254 | return 0; | 4254 | return 0; |
4255 | } | 4255 | } |
4256 | reserv_blks = ar->len; | 4256 | reserv_blks = ar->len; |
4257 | while (ar->len && vfs_dq_alloc_block(ar->inode, ar->len)) { | 4257 | while (ar->len && dquot_alloc_block(ar->inode, ar->len)) { |
4258 | ar->flags |= EXT4_MB_HINT_NOPREALLOC; | 4258 | ar->flags |= EXT4_MB_HINT_NOPREALLOC; |
4259 | ar->len--; | 4259 | ar->len--; |
4260 | } | 4260 | } |
@@ -4331,7 +4331,7 @@ out2: | |||
4331 | kmem_cache_free(ext4_ac_cachep, ac); | 4331 | kmem_cache_free(ext4_ac_cachep, ac); |
4332 | out1: | 4332 | out1: |
4333 | if (inquota && ar->len < inquota) | 4333 | if (inquota && ar->len < inquota) |
4334 | vfs_dq_free_block(ar->inode, inquota - ar->len); | 4334 | dquot_free_block(ar->inode, inquota - ar->len); |
4335 | out3: | 4335 | out3: |
4336 | if (!ar->len) { | 4336 | if (!ar->len) { |
4337 | if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag) | 4337 | if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag) |
@@ -4646,7 +4646,7 @@ do_more: | |||
4646 | sb->s_dirt = 1; | 4646 | sb->s_dirt = 1; |
4647 | error_return: | 4647 | error_return: |
4648 | if (freed) | 4648 | if (freed) |
4649 | vfs_dq_free_block(inode, freed); | 4649 | dquot_free_block(inode, freed); |
4650 | brelse(bitmap_bh); | 4650 | brelse(bitmap_bh); |
4651 | ext4_std_error(sb, err); | 4651 | ext4_std_error(sb, err); |
4652 | if (ac) | 4652 | if (ac) |