aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 4de42090c41f..b038188bd039 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4587,7 +4587,7 @@ ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle,
4587 return 0; 4587 return 0;
4588 } 4588 }
4589 reserv_blks = ar->len; 4589 reserv_blks = ar->len;
4590 while (ar->len && DQUOT_ALLOC_BLOCK(ar->inode, ar->len)) { 4590 while (ar->len && vfs_dq_alloc_block(ar->inode, ar->len)) {
4591 ar->flags |= EXT4_MB_HINT_NOPREALLOC; 4591 ar->flags |= EXT4_MB_HINT_NOPREALLOC;
4592 ar->len--; 4592 ar->len--;
4593 } 4593 }
@@ -4663,7 +4663,7 @@ out2:
4663 kmem_cache_free(ext4_ac_cachep, ac); 4663 kmem_cache_free(ext4_ac_cachep, ac);
4664out1: 4664out1:
4665 if (inquota && ar->len < inquota) 4665 if (inquota && ar->len < inquota)
4666 DQUOT_FREE_BLOCK(ar->inode, inquota - ar->len); 4666 vfs_dq_free_block(ar->inode, inquota - ar->len);
4667out3: 4667out3:
4668 if (!ar->len) { 4668 if (!ar->len) {
4669 if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag) 4669 if (!EXT4_I(ar->inode)->i_delalloc_reserved_flag)