aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 2da74f57a10b..1b1b7d918114 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -5175,7 +5175,7 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
5175 5175
5176 /* (user+group)*(old+new) structure, inode write (sb, 5176 /* (user+group)*(old+new) structure, inode write (sb,
5177 * inode block, ? - but truncate inode update has it) */ 5177 * inode block, ? - but truncate inode update has it) */
5178 handle = ext4_journal_start(inode, 2*(EXT4_QUOTA_INIT_BLOCKS(inode->i_sb)+ 5178 handle = ext4_journal_start(inode, (EXT4_MAXQUOTAS_INIT_BLOCKS(inode->i_sb)+
5179 EXT4_QUOTA_DEL_BLOCKS(inode->i_sb))+3); 5179 EXT4_QUOTA_DEL_BLOCKS(inode->i_sb))+3);
5180 if (IS_ERR(handle)) { 5180 if (IS_ERR(handle)) {
5181 error = PTR_ERR(handle); 5181 error = PTR_ERR(handle);