aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r--fs/ext4/extents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 2c4a9321fb14..5967f18fd7e7 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -2161,7 +2161,7 @@ ext4_ext_rm_leaf(handle_t *handle, struct inode *inode,
2161 correct_index = 1; 2161 correct_index = 1;
2162 credits += (ext_depth(inode)) + 1; 2162 credits += (ext_depth(inode)) + 1;
2163 } 2163 }
2164 credits += 2 * EXT4_QUOTA_TRANS_BLOCKS(inode->i_sb); 2164 credits += EXT4_MAXQUOTAS_TRANS_BLOCKS(inode->i_sb);
2165 2165
2166 err = ext4_ext_truncate_extend_restart(handle, inode, credits); 2166 err = ext4_ext_truncate_extend_restart(handle, inode, credits);
2167 if (err) 2167 if (err)