aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 81d605412844..55bfcd94d1ab 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1126,7 +1126,8 @@ void ext4_da_update_reserve_space(struct inode *inode,
1126 */ 1126 */
1127 if (allocated_meta_blocks) 1127 if (allocated_meta_blocks)
1128 dquot_claim_block(inode, allocated_meta_blocks); 1128 dquot_claim_block(inode, allocated_meta_blocks);
1129 dquot_release_reservation_block(inode, mdb_free + used); 1129 dquot_release_reservation_block(inode, mdb_free + used -
1130 allocated_meta_blocks);
1130 } 1131 }
1131 1132
1132 /* 1133 /*