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 abb11e328b65..506713a2ebd8 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -4240,7 +4240,7 @@ ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle, | |||
4240 | return 0; | 4240 | return 0; |
4241 | } | 4241 | } |
4242 | reserv_blks = ar->len; | 4242 | reserv_blks = ar->len; |
4243 | while (ar->len && vfs_dq_alloc_block(ar->inode, ar->len)) { | 4243 | while (ar->len && dquot_alloc_block(ar->inode, ar->len)) { |
4244 | ar->flags |= EXT4_MB_HINT_NOPREALLOC; | 4244 | ar->flags |= EXT4_MB_HINT_NOPREALLOC; |
4245 | ar->len--; | 4245 | ar->len--; |
4246 | } | 4246 | } |
@@ -4317,7 +4317,7 @@ out2: | |||
4317 | kmem_cache_free(ext4_ac_cachep, ac); | 4317 | kmem_cache_free(ext4_ac_cachep, ac); |
4318 | out1: | 4318 | out1: |
4319 | if (inquota && ar->len < inquota) | 4319 | if (inquota && ar->len < inquota) |
4320 | vfs_dq_free_block(ar->inode, inquota - ar->len); | 4320 | dquot_free_block(ar->inode, inquota - ar->len); |
4321 | out3: | 4321 | out3: |
4322 | if (!ar->len) { | 4322 | if (!ar->len) { |
4323 | if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag) | 4323 | if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag) |
@@ -4631,7 +4631,7 @@ do_more: | |||
4631 | sb->s_dirt = 1; | 4631 | sb->s_dirt = 1; |
4632 | error_return: | 4632 | error_return: |
4633 | if (freed) | 4633 | if (freed) |
4634 | vfs_dq_free_block(inode, freed); | 4634 | dquot_free_block(inode, freed); |
4635 | brelse(bitmap_bh); | 4635 | brelse(bitmap_bh); |
4636 | ext4_std_error(sb, err); | 4636 | ext4_std_error(sb, err); |
4637 | if (ac) | 4637 | if (ac) |